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

EA bug while convert from INLINE to EXTENT with XATTR_REPLACE



Hi,

One of the attached files is used to hit the bug as following, the patch is
my solution:

A. set a EA with 10 chars (name length + value length) 
B. change above name's value with chars more than 32 

If we used the EA through lib, the operations seems OK because it
has never used XATTR_REPLACE flag.

The patch will solve the problem.

Regards,
Allan

Attachment: attr_test.c
Description: Binary data

Attachment: xfs_attr.c.patch
Description: Binary data