Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312964
b: refs/heads/master
c: eee4589
h: refs/heads/master
v: v3
  • Loading branch information
Artem Bityutskiy authored and Al Viro committed Jul 22, 2012
1 parent 6baecfd commit 344f09c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a4d05d315a4fdf5ccb0dbf0ce38bac12d522d33e
refs/heads/master: eee458936b52bd3a9ff0ff577313b637905fff08
5 changes: 1 addition & 4 deletions trunk/fs/sysv/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,9 @@ static void sysv_write_super(struct super_block *sb)
static int sysv_remount(struct super_block *sb, int *flags, char *data)
{
struct sysv_sb_info *sbi = SYSV_SB(sb);
lock_super(sb);

if (sbi->s_forced_ro)
*flags |= MS_RDONLY;
if (*flags & MS_RDONLY)
sysv_write_super(sb);
unlock_super(sb);
return 0;
}

Expand Down

0 comments on commit 344f09c

Please sign in to comment.