From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josef Bacik Subject: Re: [PATCH] Btrfs: fix error check of btrfs_lookup_dentry() Date: Tue, 28 Jun 2011 10:22:23 -0400 Message-ID: <4E09E39F.1070408@redhat.com> References: <201106280334.AA00027@T-ITOH1.jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: linux-btrfs@vger.kernel.org, chris.mason@oracle.com To: Tsutomu Itoh Return-path: In-Reply-To: <201106280334.AA00027@T-ITOH1.jp.fujitsu.com> List-ID: On 06/27/2011 11:34 PM, Tsutomu Itoh wrote: > The return value of btrfs_lookup_dentry is checked so that > the panic such as illegal address reference should not occur. > > Signed-off-by: Tsutomu Itoh Nack, please fix btrfs_lookup_dentry to return ERR_PTR(-ENOENT) if it doesn't find something. Thanks, Josef