Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312864
b: refs/heads/master
c: 0164b1a
h: refs/heads/master
v: v3
  • Loading branch information
Artem Bityutskiy authored and Al Viro committed Jul 14, 2012
1 parent 922541b commit f9a9a38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: c9753b1d20e13c94d15a1c8b252a696744bd22a2
refs/heads/master: 0164b1a32e6849121ea73ef3124a2994951a4713
5 changes: 2 additions & 3 deletions trunk/fs/affs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -545,10 +545,9 @@ affs_remount(struct super_block *sb, int *flags, char *data)
if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY))
return 0;

if (*flags & MS_RDONLY) {
affs_write_super(sb);
if (*flags & MS_RDONLY)
affs_free_bitmap(sb);
} else
else
res = affs_init_bitmap(sb, flags);

return res;
Expand Down

0 comments on commit f9a9a38

Please sign in to comment.