Re: [PATCH] xfs_io/lsattr: expose FS_XFLAG_HASATTR flag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/8/19 12:50 AM, Darrick J. Wong wrote:
> On Wed, Nov 06, 2019 at 07:58:55AM +0200, Amir Goldstein wrote:
>> For efficient check if file has xattrs.
>>
>> Signed-off-by: Amir Goldstein <amir73il@xxxxxxxxx>
>> ---
>>  io/attr.c | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/io/attr.c b/io/attr.c
>> index b713d017..ba88ef16 100644
>> --- a/io/attr.c
>> +++ b/io/attr.c
>> @@ -37,6 +37,7 @@ static struct xflags {
>>  	{ FS_XFLAG_FILESTREAM,		"S", "filestream"	},
>>  	{ FS_XFLAG_DAX,			"x", "dax"		},
>>  	{ FS_XFLAG_COWEXTSIZE,		"C", "cowextsize"	},
>> +	{ FS_XFLAG_HASATTR,		"X", "has-xattr"	},
> 
> This causes an xfs/207 regression on the extra letter in the output; can
> you please fix that?

I sent [PATCH] xfs/207: explicitly test for xflag character 

but forgot to cc xfs list.  it's on the fstests list, sorry!

-Eric



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux