]> 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)
commit5738c68433a3c31570169bfb17916a8c1eb7e0e5
treec1dd3edf1cd6f53c62d352d921ddfb96ad2af221
parent62431b8d3a2be8887d2822c8b723364e59dccbdc
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