summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-amd8111.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2013-03-16 15:55:36 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-03-29 15:43:55 -0400
commit75bc8821bd9ae76f2ffb92a46f7abdbb0aaa0536 (patch)
tree69494edb80c4eea48198878a44f73df88008c11c /drivers/gpio/gpio-amd8111.c
parent5007220b87d2ae9da1ab2025bfa35f6e2b3376f5 (diff)
downloadblackbird-op-linux-75bc8821bd9ae76f2ffb92a46f7abdbb0aaa0536.tar.gz
blackbird-op-linux-75bc8821bd9ae76f2ffb92a46f7abdbb0aaa0536.zip
NFS: Handle missing rpc.gssd when looking up root FH
When rpc.gssd is not running, any NFS operation that needs to use a GSS security flavor of course does not work. If looking up a server's root file handle results in an NFS4ERR_WRONGSEC, nfs4_find_root_sec() is called to try a bunch of security flavors until one works or all reasonable flavors have been tried. When rpc.gssd isn't running, this loop seems to fail immediately after rpcauth_create() craps out on the first GSS flavor. When the rpcauth_create() call in nfs4_lookup_root_sec() fails because rpc.gssd is not available, nfs4_lookup_root_sec() unconditionally returns -EIO. This prevents nfs4_find_root_sec() from retrying any other flavors; it drops out of its loop and fails immediately. Having nfs4_lookup_root_sec() return -EACCES instead allows nfs4_find_root_sec() to try all flavors in its list. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Cc: Bryan Schumaker <bjschuma@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'drivers/gpio/gpio-amd8111.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud