[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110114032224.GW19804@ZenIV.linux.org.uk>
Date: Fri, 14 Jan 2011 03:22:24 +0000
From: Al Viro <viro@...IV.linux.org.uk>
To: Nick Piggin <npiggin@...il.com>
Cc: "J. R. Okajima" <hooanon05@...oo.co.jp>,
linux-fsdevel <linux-fsdevel@...r.kernel.org>,
linux-kernel@...r.kernel.org
Subject: Re: vfs-scale, d_revalidate from nfsd
> BTW, why on the earth do you have that:
> static int xattr_hide_revalidate(struct dentry *dentry, struct nameidata *nd)
> {
> if (nd->flags & LOOKUP_RCU)
> return -ECHILD;
> return -EPERM;
> }
> when the sole intent of that sucker is to have dentry of /.xattr (pinned
> in dcache and hashed all along) rejected on lookups from root? IOW, WTF
> bother with -ECHILD here at all?
PS: that's fs/reiserfs/xattr.c
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists