diff options
author | Chandra Seetharaman <sekharan@us.ibm.com> | 2013-07-11 01:00:36 +0200 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-07-11 23:49:10 +0200 |
commit | c31ad439e8d111bf911c9cc80619cebde411a44d (patch) | |
tree | 1f5c3ec31c3bd484acf2cce7421721862bb7305b /firmware/cpia2 | |
parent | xfs: Add pquota fields where gquota is used. (diff) | |
download | linux-c31ad439e8d111bf911c9cc80619cebde411a44d.tar.xz linux-c31ad439e8d111bf911c9cc80619cebde411a44d.zip |
xfs: Fix the logic check for all quotas being turned off
During the review of seperate pquota inode patches, David noticed
that the test to detect all quotas being turned off was
incorrect, and hence the block was not freeing all the quota
information.
The check made sense in Irix, but in Linux, quota is turned off
one at a time, which makes the test invalid for Linux.
This problem existed since XFS was ported to Linux.
David suggested to fix the problem by detecting when all quotas are
turned off by checking m_qflags.
Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'firmware/cpia2')
0 files changed, 0 insertions, 0 deletions