X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=fs%2Fquota%2Fquota.c;h=9a391204ca278e4186300215ef521183af70eb68;hb=de8856d2c11f562c60ed9340a83db4a4f829a6e6;hp=fc2c4388d1262a1771d27acb7c55507369cf0dba;hpb=98e8bdafeb4728a6af7bbcbcc3984967d1cf2bc1;p=cascardo%2Flinux.git diff --git a/fs/quota/quota.c b/fs/quota/quota.c index fc2c4388d126..9a391204ca27 100644 --- a/fs/quota/quota.c +++ b/fs/quota/quota.c @@ -282,10 +282,9 @@ static int do_quotactl(struct super_block *sb, int type, int cmd, qid_t id, case Q_XGETQUOTA: return quota_getxquota(sb, type, id, addr); case Q_XQUOTASYNC: - /* caller already holds s_umount */ if (sb->s_flags & MS_RDONLY) return -EROFS; - writeback_inodes_sb(sb, WB_REASON_SYNC); + /* XFS quotas are fully coherent now, making this call a noop */ return 0; default: return -EINVAL;