NFS: Fix an Oops in NFS unmount
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 12 Dec 2007 16:12:15 +0000 (11:12 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 12 Dec 2007 16:12:15 +0000 (11:12 -0500)
commita10db50a4ae813fcb2f431f2fb039933c109a925
tree0c07781c5de3b7445add25db6d3471d71cf5cb86
parenta5576cfa5cd8d8aa874bd4ee500dc8a2e7cbad18
NFS: Fix an Oops in NFS unmount

Ensure that the dummy 'root dentry' is invisible to d_find_alias(). If not,
then it may be spliced into the tree if a parent directory from the same
filesystem gets mounted at a later time.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/getroot.c