diff options
Diffstat (limited to 'fs/quota')
-rw-r--r-- | fs/quota/quota.c | 3 |
1 files changed, 1 insertions, 2 deletions
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, | |||
282 | case Q_XGETQUOTA: | 282 | case Q_XGETQUOTA: |
283 | return quota_getxquota(sb, type, id, addr); | 283 | return quota_getxquota(sb, type, id, addr); |
284 | case Q_XQUOTASYNC: | 284 | case Q_XQUOTASYNC: |
285 | /* caller already holds s_umount */ | ||
286 | if (sb->s_flags & MS_RDONLY) | 285 | if (sb->s_flags & MS_RDONLY) |
287 | return -EROFS; | 286 | return -EROFS; |
288 | writeback_inodes_sb(sb, WB_REASON_SYNC); | 287 | /* XFS quotas are fully coherent now, making this call a noop */ |
289 | return 0; | 288 | return 0; |
290 | default: | 289 | default: |
291 | return -EINVAL; | 290 | return -EINVAL; |