Merge branch 'r6040' of git://git.kernel.org/pub/scm/linux/kernel/git/romieu/netdev...
[firefly-linux-kernel-4.4.55.git] / fs / super.c
index 65f6849847f4cf71fe700792dc45fa69efb5ac92..88811f60c8de517829ce7828c1971bfb4f90d8a1 100644 (file)
@@ -604,6 +604,7 @@ int do_remount_sb(struct super_block *sb, int flags, void *data, int force)
                        mark_files_ro(sb);
                else if (!fs_may_remount_ro(sb))
                        return -EBUSY;
+               DQUOT_OFF(sb);
        }
 
        if (sb->s_op->remount_fs) {