From: Ryota Yamauchi Date: Fri, 30 Oct 2009 08:27:44 +0000 (+0100) Subject: xfs: fix xfs_quota remove error X-Git-Tag: v2.6.32-rc6~26^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7ff91d722e44c98504e6e2c357b47e1988dfbbd;p=pandora-kernel.git 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 Signed-off-by: Utako Kusaka Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed