NFS: Do secinfo as part of lookup
authorBryan Schumaker <bjschuma@netapp.com>
Fri, 27 Apr 2012 17:27:40 +0000 (13:27 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 27 Apr 2012 18:10:02 +0000 (14:10 -0400)
commit72de53ec4bca39c26709122a8f78bfefe7b6bca4
treedac32c44281b153df7104037c1e97c11deffae69
parentdb0a9593d52f935c80085d8993bdcead1ad30b0c
NFS: Do secinfo as part of lookup

Whenever lookup sees wrongsec do a secinfo and retry the lookup to find
attributes of the file or directory, such as "is this a referral
mountpoint?".  This also allows me to remove handling -NFS4ERR_WRONSEC
as part of getattr xdr decoding.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/internal.h
fs/nfs/nfs4_fs.h
fs/nfs/nfs4namespace.c
fs/nfs/nfs4proc.c
fs/nfs/nfs4xdr.c