NFS: nfs_lookup_revalidate should not trust an inode with i_nlink == 0
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 14 Dec 2012 22:51:40 +0000 (17:51 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 14 Dec 2012 22:51:40 +0000 (17:51 -0500)
commit65a0c14954493802de01968a73b849f9fc4b4d1a
tree9aed5fb3785615d550feb038470f08dbeb36716f
parent1f018458b30b0d5c535c94e577aa0acbb92e1395
NFS: nfs_lookup_revalidate should not trust an inode with i_nlink == 0

If the inode has no links, then we should force a new lookup.

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