]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit15002624412d82b62de0196ed2d11a16fc9d2087
treedac32c44281b153df7104037c1e97c11deffae69
parentdbad626a02316cf5873ebd98020518838cfa8436
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