]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcf6f6c9d59d58d387416c3cd8abd86c3c3b21d10
treec1dd3edf1cd6f53c62d352d921ddfb96ad2af221
parented81f87ab4f6016c0acd07e94641d5ae269cda4d
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