From: David Howells Subject: Re: [PATCH 07/30] IGET: Stop BEFS from using iget() and read_inode() Date: Tue, 02 Oct 2007 14:24:17 +0100 Message-ID: <25570.1191331457@redhat.com> References: <1191330132.11136.2.camel@norville.austin.ibm.com> <963DCFBD-9E68-488E-BD2C-D8B751E65BDF@zabbo.net> <20071001130921.29339.72876.stgit@warthog.procyon.org.uk> <20071001130958.29339.31669.stgit@warthog.procyon.org.uk> <20071001173930.GA7718@mami.zabbo.net> <20071001180601.GA9417@infradead.org> <11826.1191328350@redhat.com> Cc: dhowells@redhat.com, Zach Brown , Linus Torvalds , Christoph Hellwig , viro@ftp.linux.org.uk, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org To: Dave Kleikamp Return-path: In-Reply-To: <1191330132.11136.2.camel@norville.austin.ibm.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Dave Kleikamp wrote: > Of course, the cast is unnecessary, The cast is necessary as the argument is a const pointer and the return type is not. > and I'm sure you meant to return error: Oops. Yes, I changed my mind and renamed the argument to be 'error', but forgot to change the reference to it. David