Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752038AbdGDEWQ (ORCPT ); Tue, 4 Jul 2017 00:22:16 -0400 Received: from imap.thunk.org ([74.207.234.97]:44706 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750760AbdGDEWP (ORCPT ); Tue, 4 Jul 2017 00:22:15 -0400 Date: Tue, 4 Jul 2017 00:22:09 -0400 From: "Theodore Ts'o" To: Tahsin Erdogan Cc: Andreas Dilger , "Darrick J . Wong" , Jan Kara , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ext4: fix __ext4_xattr_set_credits() Message-ID: <20170704042209.7ahxiwakxzg4qcqf@thunk.org> Mail-Followup-To: Theodore Ts'o , Tahsin Erdogan , Andreas Dilger , "Darrick J . Wong" , Jan Kara , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org References: <20170628214750.31548-1-tahsin@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170628214750.31548-1-tahsin@google.com> User-Agent: NeoMutt/20170306 (1.8.0) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 554 Lines: 13 On Wed, Jun 28, 2017 at 02:47:50PM -0700, Tahsin Erdogan wrote: > __ext4_xattr_set_credits() calculates journal credits needed for a > set xattr operation. Currently, credits needed for quota updates are > added only if ea_inode feature is enabled which is wrong. Fix this by > moving quota related additions to above ea_inode feature check. > > Fixes: 74c5bfa651af ("ext4: xattr inode deduplication") > > Signed-off-by: Tahsin Erdogan Thanks, I've folded this into the xattr_inode_deduplication patch. - Ted