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

RE: EA bug while convert from INLINE to EXTENT with XATTR_REPLACE



The new patch as the attached file.

> -----Original Message-----
> From: owner-linux-xfs@oss.sgi.com [mailto:owner-linux-xfs@oss.sgi.com]On
> Behalf Of Tang Lingbo (Allan)
> Sent: Sunday, May 26, 2002 1:04 PM
> To: Linux-Xfs
> Subject: 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: xfs_attr.c.patch
Description: Binary data