NFS: Do secinfo as part of lookup
authorBryan Schumaker <bjschuma@netapp.com>
Fri, 27 Apr 2012 17:27:40 +0000 (13:27 -0400)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 14 May 2012 13:23:11 +0000 (18:23 +0530)
commitff59d672d92eefe7c03f76c1469affb28125f890
treed4bb72ede1fc137eef83b4983dbfdea1c86f328b
parent20f9037e4919914f43570bcef0e92161f576681a
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