Messages in this thread Patch in this message | | | Date | Thu, 18 Nov 2004 12:34:23 +0100 | From | Jan Kara <> | Subject | [PATCH] Add missing DQUOT_OFF |
| |
Hello!
Attached patch adds missing DQUOT_OFF to the umount path of the root filesystem (it is only remounted read-only and so the usual path with DQUOT_OFF is not taken). Please apply.
Honza
-- Jan Kara <jack@suse.cz> SuSE CR Labs Add quotaoff when unmounting root (actually remounting RO).
Signed-off-by: Jan Kara <jack@suse.cz>
diff -rupNX /home/jack/.kerndiffexclude linux-2.6.10-rc2-mm1-1-eqfix/fs/namespace.c linux-2.6.10-rc2-mm1-2-offadd/fs/namespace.c --- linux-2.6.10-rc2-mm1-1-eqfix/fs/namespace.c 2004-11-16 16:39:08.000000000 +0100 +++ linux-2.6.10-rc2-mm1-2-offadd/fs/namespace.c 2004-11-16 16:49:35.000000000 +0100 @@ -423,6 +423,7 @@ 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(); } | |