Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751443AbdHFUFp (ORCPT ); Sun, 6 Aug 2017 16:05:45 -0400 Received: from mail-yw0-f171.google.com ([209.85.161.171]:36212 "EHLO mail-yw0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751349AbdHFUFn (ORCPT ); Sun, 6 Aug 2017 16:05:43 -0400 MIME-Version: 1.0 In-Reply-To: References: From: Tahsin Erdogan Date: Sun, 6 Aug 2017 13:05:41 -0700 Message-ID: Subject: Re: xattr hash error in 4.13-rc with overlayfs over ext4 To: "zhangyi (F)" Cc: Miklos Szeredi , Amir Goldstein , "Theodore Ts'o" , "linux-ext4@vger.kernel.org" , linux-fsdevel , lkml , "linux-unionfs@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 393 Lines: 9 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/