From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 2/6] 9p: Fix error handling on superblock alloc failure [try #7] Date: Wed, 8 Mar 2006 21:28:12 +0000 Message-ID: <20060308212812.GB8042@infradead.org> References: <20060308203018.25493.23720.stgit@warthog.cambridge.redhat.com> <20060308203021.25493.85005.stgit@warthog.cambridge.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: akpm@osdl.org, rminnich@lanl.gov, lucho@ionkov.net, ericvh@gmail.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Return-path: To: David Howells Content-Disposition: inline In-Reply-To: <20060308203021.25493.85005.stgit@warthog.cambridge.redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Wed, Mar 08, 2006 at 08:30:21PM +0000, David Howells wrote: > The attached patch adds error handling and cleanup in the case that sget() > fails, lest a memory leak occur. this is a small and simple fix that should go into 2.6.16 after the 9p maintainers ACKed it. Of course that means redoing it to apply before the get_sb prototype change.