[PATCH] xfs: fix uflags detection at xfs_fs_rm_xquota
Jeff Liu
jeff.liu at oracle.com
Wed Jul 16 02:11:17 CDT 2014
On 07/15/2014 18:25 PM, Christoph Hellwig wrote:
> On Tue, Jul 15, 2014 at 05:35:23PM +0800, Jeff Liu wrote:
>> From: Jie Liu <jeff.liu at oracle.com>
>>
>> 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.
>
> This code was introduced by commit
> 9da93f9b7cdf8ab28da6b364cdc1fafc8670b4dc which attempts to fix the
> broken quotarm code. Seems like we need a testcase for this
> functionality or just remove it. Physically removing the quota file
> never seems that useful to me to start with..
Is there an approach to verify that a particular quota file inode has
been successfully removed? It seems we have to do this in a test case
but am not yet figure out a way, or any thoughts for the test case?
Cheers,
-Jeff
More information about the xfs
mailing list