From: Jan Kara We don't need to turn quotas off before remounting root ro, because do_remount_sb() already handles this. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton --- fs/namespace.c | 2 -- 1 file changed, 2 deletions(-) diff -puN fs/namespace.c~quota-remove-superfluous-dquot_off-in-fs-namespacec fs/namespace.c --- a/fs/namespace.c~quota-remove-superfluous-dquot_off-in-fs-namespacec +++ a/fs/namespace.c @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include @@ -1083,7 +1082,6 @@ static int do_umount(struct vfsmount *mn down_write(&sb->s_umount); if (!(sb->s_flags & MS_RDONLY)) { lock_kernel(); - DQUOT_OFF(sb); retval = do_remount_sb(sb, MS_RDONLY, NULL, 0); unlock_kernel(); } _