From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Subject: Re: [patch] hfsplus: add missing curly braces in hfsplus_delete_cat() Date: Wed, 25 Feb 2015 20:13:03 +0300 Message-ID: <20150225171303.GF5116@mwanda> References: <20150225133644.GW19745@mwanda> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andrew Morton , Vyacheslav Dubeyko , Sougata Santra , Christoph Hellwig , "linux-fsdevel@vger.kernel.org" , kernel-janitors@vger.kernel.org To: Sergei Antonov Return-path: Content-Disposition: inline In-Reply-To: Sender: kernel-janitors-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Wed, Feb 25, 2015 at 03:50:19PM +0100, Sergei Antonov wrote: > Right you are. > I would also add 2 things: > 1. CC the author of the last patch (the one which introduced it). Huh? Sougata is CC'd. I didn't add a fixes: tag because this is just a cleanup and has no effect on runtime. > 2. Unify the way the return code from hfsplus_cat_build_key() is > checked. Now it has two flavours: "if (unlikely(err < 0))" and "if > (unlikely(err))". The latter is better. I'm a bit confused. 1) This function uses "if (unlikely(err)) " consistently. 2) I don't see how any of that relates to this patch?? regards, dan carpenter