From: Jan Kara Date: Mon, 28 Apr 2008 09:14:32 +0000 (-0700) Subject: quota: remove superfluous DQUOT_OFF() in fs/namespace.c X-Git-Tag: v2.6.26-rc1~867 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=8794b5b246cf6f67baf57bd9db386e79ca5cac33;p=~emulex%2Finfiniband.git quota: remove superfluous DQUOT_OFF() in fs/namespace.c 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 Signed-off-by: Linus Torvalds --- diff --git a/fs/namespace.c b/fs/namespace.c index f48f98110c3..fe376805cf5 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include @@ -1084,7 +1083,6 @@ static int do_umount(struct vfsmount *mnt, int flags) 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(); }