Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294620
b: refs/heads/master
c: 4b217ed
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Hellwig authored and Ben Myers committed Feb 29, 2012
1 parent ff5446b commit 6725682
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 89605011915aec5c6194e53a9f02631d68aea6bc
refs/heads/master: 4b217ed9e30f94b6e8e5e262020ef0ceab6113af
3 changes: 1 addition & 2 deletions trunk/fs/quota/quota.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6725682

Please sign in to comment.