diff options
| author | Ryota Yamauchi <[email protected]> | 2009-10-30 09:27:44 +0100 |
|---|---|---|
| committer | [email protected] <Christoph Hellwig> | 2009-10-30 09:27:44 +0100 |
| commit | c7ff91d722e44c98504e6e2c357b47e1988dfbbd (patch) | |
| tree | ce00b608165eab1f4f647eaed997824992b43664 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | 3b826386d376e5545d2e92b2da5ebd965cafae97 (diff) | |
xfs: fix xfs_quota remove error
The xfs_quota returns ENOSYS when remove command is executed.
Reproducable with following steps.
# mount -t xfs -o uquota /dev/sda7 /mnt/mp1
# xfs_quota -x -c off -c remove
XFS_QUOTARM: Function not implemented.
The remove command is allowed during quotaoff, but xfs_fs_set_xstate()
checks whether quota is running, and it leads to ENOSYS.
To solve this problem, add a check for X_QUOTARM.
Signed-off-by: Ryota Yamauchi <[email protected]>
Signed-off-by: Utako Kusaka <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions