nfs: handle NFSv2 -EKEYEXPIRED returns from RPC layer appropriately
authorJeff Layton <jlayton@redhat.com>
Fri, 8 Jan 2010 17:17:21 +0000 (12:17 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 10 Feb 2010 13:30:52 +0000 (08:30 -0500)
commit97cefcc6d0aa6b4fc9ba67eb1ef4cc9e25f826f2
tree3807bb7ff0767bfd4ab0e3572456ab6ca28da239
parentb68d69b8c6d19f4c2174f26fe8b750a0e82eb732
nfs: handle NFSv2 -EKEYEXPIRED returns from RPC layer appropriately

Add a wrapper around rpc_call_sync that handles -EKEYEXPIRED errors from
the RPC layer as it would an -EJUKEBOX error if NFSv2 had such a thing.
Also, add a handler for that error for async calls that makes it
resubmit the RPC on -EKEYEXPIRED.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/proc.c