]> 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)
commitab09c440bc1b854b285adc03de0d36729d9d7cb9
treedac32c44281b153df7104037c1e97c11deffae69
parent467bb27505c0a61cfdcfefbb659ad1f50266c094
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