Re: xattr hash error in 4.13-rc with overlayfs over ext4

From: Tahsin Erdogan
Date: Sun Aug 06 2017 - 16:05:49 EST


On Sun, Aug 6, 2017 at 5:47 AM, zhangyi (F) <yizhang089@xxxxxxxxx> wrote:
> I think the root cause of this problem is the hash value not updated
> when we overwrite the same xattr, please see ext4_xattr_set_entry():

Yes, you are right. Thanks a lot for finding the root cause.

I just sent out a fix: ("[PATCH] ext4: add missing xattr hash update")

http://patchwork.ozlabs.org/patch/798445/