From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 15 Jan 2008 19:32:04 +0000 From: Christoph Hellwig Subject: Re: [PATCH 1/2] Massive code cleanup of sys_msync() Message-ID: <20080115193204.GA25866@infradead.org> References: <12004129652397-git-send-email-salikhmetov@gmail.com> <12004129734126-git-send-email-salikhmetov@gmail.com> <20080115175705.GA21557@infradead.org> <4df4ef0c0801151102l4d72b6b5j702e21beb1ebe459@mail.gmail.com> <20080115111018.1e27a229.randy.dunlap@oracle.com> <4df4ef0c0801151126p5dfdbc13ga9862c995890c33c@mail.gmail.com> <1200425328.26045.39.camel@twins> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1200425328.26045.39.camel@twins> Sender: owner-linux-mm@kvack.org Return-Path: To: Peter Zijlstra Cc: Anton Salikhmetov , Randy Dunlap , Christoph Hellwig , linux-mm@kvack.org, jakob@unthought.net, linux-kernel@vger.kernel.org, valdis.kletnieks@vt.edu, riel@redhat.com, ksm@42.dk, staubach@redhat.com, jesper.juhl@gmail.com, torvalds@linux-foundation.org, akpm@linux-foundation.org, protasnb@gmail.com, miklos@szeredi.hu List-ID: On Tue, Jan 15, 2008 at 08:28:48PM +0100, Peter Zijlstra wrote: > Notice that error is already -EINVAL, so a simple goto should suffice. Yes, for the start of the function you can basically leave it as-is. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org