reiserfs: deal with NULL xattr root w/ xattrs disabled
authorJeff Mahoney <jeffm@suse.com>
Sun, 17 May 2009 05:02:02 +0000 (01:02 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 17 May 2009 18:45:45 +0000 (11:45 -0700)
commitceb5edc457f07956c82dccfb54ca8ae7e2a399f0
tree0b58e5a5e359090e47583ec0b49e7b29af0b2179
parent12abb35a03e32c97235fcefdcf2d851be9f82dc2
reiserfs: deal with NULL xattr root w/ xattrs disabled

This avoids an Oops in open_xa_root that can occur when deleting a file
with xattrs disabled.  It assumes that the xattr root will be there, and
that is not guaranteed.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/reiserfs/super.c
fs/reiserfs/xattr.c