Ryota Yamauchi c7ff91d722 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 <r-yamauchi@vf.jp.nec.com>
Signed-off-by: Utako Kusaka <u-kusaka@wm.jp.nec.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2009-10-30 09:27:44 +01:00
..
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-06-24 08:15:24 -04:00
2009-06-17 00:36:36 -04:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-07-10 19:18:59 -07:00
2009-06-15 21:44:43 -07:00
2009-09-11 14:59:37 -04:00
2009-09-11 14:59:37 -04:00
2009-06-15 21:44:43 -07:00
2009-08-18 16:31:13 -07:00
2009-07-30 17:31:23 +02:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-06-17 00:36:37 -04:00
2009-06-18 13:03:46 -07:00
2009-10-30 09:27:44 +01:00
2009-06-30 18:55:58 -07:00
2009-06-18 13:03:41 -07:00
2009-07-12 12:22:34 -07:00
2009-08-07 14:38:29 -03:00