]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/ext2/super.c
quota: move unmount handling into the filesystem
[mirror_ubuntu-zesty-kernel.git] / fs / ext2 / super.c
index 318ebc58bb7b73dcc5230e85c22e88627daefeff..b9b77c3e7ae05f3dd3866a2f4b924647ac58b9ff 100644 (file)
@@ -119,6 +119,8 @@ static void ext2_put_super (struct super_block * sb)
        int i;
        struct ext2_sb_info *sbi = EXT2_SB(sb);
 
+       dquot_disable(sb, -1, DQUOT_USAGE_ENABLED | DQUOT_LIMITS_ENABLED);
+
        if (sb->s_dirt)
                ext2_write_super(sb);