]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/reiserfs/super.c
Always lookup priv_root on reiserfs mount and keep it
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 3 May 2009 10:00:05 +0000 (06:00 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 9 May 2009 14:49:38 +0000 (10:49 -0400)
commitedcc37a0478836b4a51eafb1bcec6a52708f681d
tree95294fa607420d760823401a6c6e7d9deb698bb1
parent5a6059c358d3b3004cb6b8562e3b049b1f8564f9
Always lookup priv_root on reiserfs mount and keep it

... even if it's a negative dentry.  That way we can set ->d_op on
root before anyone could race with us.  Simplify d_compare(), while
we are at it.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/reiserfs/super.c
fs/reiserfs/xattr.c
include/linux/reiserfs_xattr.h