From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932579AbdHVKsS (ORCPT ); Tue, 22 Aug 2017 06:48:18 -0400 Received: from mx2.suse.de ([195.135.220.15]:53881 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932350AbdHVKsR (ORCPT ); Tue, 22 Aug 2017 06:48:17 -0400 Date: Tue, 22 Aug 2017 12:48:15 +0200 From: Jan Kara To: SF Markus Elfring Cc: Jan Kara , Al Viro , David Howells , Ingo Molnar , kernel-janitors@vger.kernel.org, LKML Subject: Re: isofs: One check less in isofs_read_inode() after error detection Message-ID: <20170822104815.GJ4909@quack2.suse.cz> References: <157aa252-0edb-1462-cb6e-44369e8f1645@users.sourceforge.net> <20170821141139.GD31870@quack2.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 21-08-17 16:18:14, SF Markus Elfring wrote: > > I agree that > > > > fail: > > goto out; > > > > in the original code is awkward and we can get rid of it. > > How would you like to change this place instead? Just do 'goto out' directly. Honza -- Jan Kara SUSE Labs, CR