From 6725682dbb84554b4a457596975be8e8403e5f70 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Mon, 20 Feb 2012 02:28:18 +0000 Subject: [PATCH] --- yaml --- r: 294620 b: refs/heads/master c: 4b217ed9e30f94b6e8e5e262020ef0ceab6113af h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/quota/quota.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 1596f1e970f8..a673da8fa077 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 89605011915aec5c6194e53a9f02631d68aea6bc +refs/heads/master: 4b217ed9e30f94b6e8e5e262020ef0ceab6113af diff --git a/trunk/fs/quota/quota.c b/trunk/fs/quota/quota.c index 7898cd688a00..7a9bedeb1d57 100644 --- a/trunk/fs/quota/quota.c +++ b/trunk/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;