[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160524183703.GZ14480@ZenIV.linux.org.uk>
Date: Tue, 24 May 2016 19:37:03 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: Jeff Chua <jeff.chua.linux@...il.com>
Cc: lkml <linux-kernel@...r.kernel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: can't boot with reiserfs on linux-4.6.0+
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;
Powered by blists - more mailing lists