author: Miklos Szeredi <mszeredi@suse.cz> 2011-11-21 12:11:33 +0100
committer: Al Viro <viro@zeniv.linux.org.uk> 2012-01-06 23:20:13 -0500
commit: 8e8b87964bc8dc5c14b6543fc933b7725f07d3ac
parent: 7ada4db88634429f4da690ad1c4eb73c93085f0c
Commit Summary:
Diffstat:
1 file changed, 0 insertions, 3 deletions
diff --git a/fs/super.c b/fs/super.c
index 6acc02237e3e..de41e1e46f09 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -729,10 +729,6 @@ int do_remount_sb(struct super_block *sb, int flags, void *data, int force)
retval = sb_prepare_remount_readonly(sb);
if (retval)
return retval;
-
- retval = -EBUSY;
- if (!fs_may_remount_ro(sb))
- goto cancel_readonly;
}
}