Hi Eric,
On Mon, 2008-05-12 at 19:18 -0500, Eric Sandeen wrote:
Attached is a simple script to reproduce the problem.
I don't quite understand what you mean but the problem is that in
ext3_xattr_set_handle(), the EA being replaced is found in the
inode-body (by function ext3_xattr_ibody_find) and hence
ext3_xattr_block_find() is not called initially. So in this test-case
when we have to delete an EA from the inode and add it into the external
block, bs turns out to be uninitialized and therefore a new EA block
gets allocated instead of the existing one being used.
Thanks,
Kalpak