xfs: fix uflags detection at xfs_fs_rm_xquota
authorJie Liu <jeff.liu@oracle.com>
Thu, 24 Jul 2014 11:27:17 +0000 (21:27 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 24 Jul 2014 11:27:17 +0000 (21:27 +1000)
commit74dc93a9087fc71240486d914b4a95f8e510e0e4
tree974e2eb0f1542448bbda894e278586c5b9e51f8e
parent7b409a7d6f4080c37dba18e775d2977942e756fd
xfs: fix uflags detection at xfs_fs_rm_xquota

We are intended to check up uflags against FS_PROJ_QUOTA rather than
FS_USER_UQUOTA once more, it looks to me like a typo, but might cause
the project quota metadata space can not be removed.

Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_quotaops.c