]> err.no Git - linux-2.6/commit
NFS: Secure the roots of the NFS subtrees in a shared superblock
authorDavid Howells <dhowells@redhat.com>
Sun, 30 Jul 2006 18:58:27 +0000 (14:58 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 23 Sep 2006 03:24:38 +0000 (23:24 -0400)
commit738a35195941ecf604d3070e2a053e1df3de350b
treedd85dd6e48fad4a041d26ef6c36c4dd08537161f
parent27ba851244f627a302d0fc6469d1ad413fc34fcb
NFS: Secure the roots of the NFS subtrees in a shared superblock

Invoke security_d_instantiate() on root dentries after allocating them with
dentry_alloc_anon().  Normally dentry_alloc_root() would do that, but we don't
call that as we don't want to assign a name to the root dentry at this point
(we may discover the real name later).

Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/getroot.c