From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756703AbcEXShI (ORCPT ); Tue, 24 May 2016 14:37:08 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:36122 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752864AbcEXShG (ORCPT ); Tue, 24 May 2016 14:37:06 -0400 Date: Tue, 24 May 2016 19:37:03 +0100 From: Al Viro To: Jeff Chua Cc: lkml , Linus Torvalds Subject: Re: can't boot with reiserfs on linux-4.6.0+ Message-ID: <20160524183703.GZ14480@ZenIV.linux.org.uk> References: <20160524155901.GX14480@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160524155901.GX14480@ZenIV.linux.org.uk> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 24, 2016 at 04:59:02PM +0100, Al Viro wrote: > Umm... Any chance of getting the function names to go with the addresses? > I'll try to reproduce it here, but the things would be easier with that > information... See if this fixes your reproducer. diff --git a/fs/xattr.c b/fs/xattr.c index b11945e..49b8eab 100644 --- a/fs/xattr.c +++ b/fs/xattr.c @@ -667,6 +667,9 @@ xattr_resolve_name(const struct xattr_handler **handlers, const char **name) { const struct xattr_handler *handler; + if (!handlers) + return NULL; + if (!*name) return NULL;