]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/ufs/super.c
quota: move unmount handling into the filesystem
[mirror_ubuntu-zesty-kernel.git] / fs / ufs / super.c
index 495fdc1df7eb7c9a6bffcdc73df0c65b8933e5f1..d3977c7128e361ca74a2e7d380499e0e5a5ede6c 100644 (file)
@@ -1227,6 +1227,8 @@ static void ufs_put_super(struct super_block *sb)
                
        UFSD("ENTER\n");
 
+       dquot_disable(sb, -1, DQUOT_USAGE_ENABLED | DQUOT_LIMITS_ENABLED);
+
        if (sb->s_dirt)
                ufs_write_super(sb);