xfs
[Top] [All Lists]

EA bug while convert from INLINE to EXTENT with XATTR_REPLACE

To: "Linux-Xfs" <linux-xfs@xxxxxxxxxxx>
Subject: EA bug while convert from INLINE to EXTENT with XATTR_REPLACE
From: "Tang Lingbo (Allan)" <atang@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 26 May 2002 13:03:40 +0800
Importance: Normal
Sender: owner-linux-xfs@xxxxxxxxxxx
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

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