NFSv4: Clean up the error handling for nfs4_reclaim_lease
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 25 May 2012 19:00:06 +0000 (15:00 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 25 May 2012 20:17:13 +0000 (16:17 -0400)
commit2a6ee6aa2f6dfc47fce8380ec9e31601c96a693e
treec1dd3edf1cd6f53c62d352d921ddfb96ad2af221
parentbbafffd293e47f4cd5f0ae8b91d7d5767b242a5e
NFSv4: Clean up the error handling for nfs4_reclaim_lease

Try to consolidate the error handling for nfs4_reclaim_lease into
a single function instead of doing a bit here, and a bit there...

Also ensure that NFS4CLNT_PURGE_STATE handles errors correctly.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4state.c