From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from verein.lst.de ([213.95.11.211]:46902 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750751AbdEIVS7 (ORCPT ); Tue, 9 May 2017 17:18:59 -0400 Date: Tue, 9 May 2017 23:18:57 +0200 From: Christoph Hellwig Subject: Re: [PATCH] xfs: remove XFS_HSIZE Message-ID: <20170509211857.GA2295@lst.de> References: <20170509090018.30094-1-hch@lst.de> 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: Christoph Hellwig , linux-xfs@vger.kernel.org On Tue, May 09, 2017 at 10:40:31AM -0500, Eric Sandeen wrote: > > - > > - hsize = XFS_HSIZE(handle); > > + hsize = sizeof(xfs_handle_t); > > at this point, no need to have the hsize assignment in if { } as well as else { }, right? > In the other branch hsize is smaller, it only covers the fsid.