]> git.baikalelectronics.ru Git - kernel.git/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)
commitb60c89b230263547c4dc9fd704150a52b7f8c9bb
treedd85dd6e48fad4a041d26ef6c36c4dd08537161f
parent64db98250ff3ea0c25bb2211631f15aa1fb6ebb1
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