From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lithops.sigma-star.at ([195.201.40.130]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g2t7D-00046f-Q4 for linux-mtd@lists.infradead.org; Thu, 20 Sep 2018 07:12:45 +0000 From: Richard Weinberger To: Joel Stanley Cc: Greg KH , linux-mtd@lists.infradead.org, Linux Kernel Mailing List , koen.vandeputte@ncentric.com, Eddie James Subject: Re: [PATCH] Revert "ubifs: xattr: Don't operate on deleted inodes" Date: Thu, 20 Sep 2018 09:10:44 +0200 Message-ID: <2090091.R1QOzN4fXt@blindfold> In-Reply-To: References: <20180916215735.31393-1-richard@nod.at> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Am Donnerstag, 20. September 2018, 04:30:41 CEST schrieb Joel Stanley: > On Mon, 17 Sep 2018 at 07:30, Richard Weinberger wrote: > > > > This reverts commit 11a6fc3dc743e22fb50f2196ec55bee5140d3c52. > > UBIFS wants to assert that xattr operations are only issued on files > > with positive link count. The said patch made this operations return > > -ENOENT for unlinked files such that the asserts will no longer trigger. > > This was wrong since xattr operations are perfectly fine on unlinked > > files. > > Instead the assertions need to be fixed/removed. > > > > Cc: > > Fixes: 11a6fc3dc743 ("ubifs: xattr: Don't operate on deleted inodes") > > Reported-by: Koen Vandeputte > > Signed-off-by: Richard Weinberger > > The bad commit 11a6fc3dc743 was included in 4.18.7, and broke our > systems which use overlayfs on top of ubifs. > > This patch didn't apply cleanly for me to 4.18.8 (an encoding issue?), > but I did a revert of the offending commit which did the trick. > > Tested-by: Joel Stanley Thanks a lot for testing and sorry for the breakage. :-( Thanks, //richard