From: Tahsin Erdogan Subject: Re: xattr hash error in 4.13-rc with overlayfs over ext4 Date: Sun, 6 Aug 2017 13:05:41 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: Miklos Szeredi , Amir Goldstein , "Theodore Ts'o" , "linux-ext4@vger.kernel.org" , linux-fsdevel , lkml , "linux-unionfs@vger.kernel.org" To: "zhangyi (F)" Return-path: In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-ext4.vger.kernel.org On Sun, Aug 6, 2017 at 5:47 AM, zhangyi (F) 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/