xfs
[Top] [All Lists]

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

To: "Linux-Xfs" <linux-xfs@xxxxxxxxxxx>
Subject: RE: EA bug while convert from INLINE to EXTENT with XATTR_REPLACE
From: "Tang Lingbo (Allan)" <atang@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 26 May 2002 17:32:51 +0800
Importance: Normal
In-reply-to: <LFEKLKBIIOCNDINOFFJGOEFKEPAA.atang@mountainviewdata.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
The new patch as the attached file.

> -----Original Message-----
> From: owner-linux-xfs@xxxxxxxxxxx [mailto:owner-linux-xfs@xxxxxxxxxxx]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

<Prev in Thread] Current Thread [Next in Thread>