From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org ([198.137.202.133]:51866 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750881AbeEGPJM (ORCPT ); Mon, 7 May 2018 11:09:12 -0400 Date: Mon, 7 May 2018 08:09:10 -0700 From: Christoph Hellwig Subject: Re: [PATCH 3/5] xfs: repair full xfs_dqblk during quotacheck Message-ID: <20180507150910.GD22414@infradead.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-xfs-owner@vger.kernel.org List-ID: List-Id: xfs To: Eric Sandeen Cc: Eric Sandeen , linux-xfs I think this commit is mislabeld, it onl passes the xfs_dqblk, but doesn't actually change any functionality as far as I can tell. > if (fa) > - xfs_dquot_repair(mp, ddq, id + j, type); > + xfs_dqblk_repair(mp, &dqb[j], id + j, type); Also please pick one of the two possible array index / pointer arithmetics notations and stick to them in a single statement at least.