]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1: Clean up session draining
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 23 Nov 2012 18:09:38 +0000 (13:09 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 5 Dec 2012 23:30:44 +0000 (00:30 +0100)
commit9e828c3b13d14cd1c13057dddf5c94d89f797eaf
tree6fdad98cdfbbe3830d8cc3679c435ed8c8be0606
parent6de56436023b455345fa762e7b86ba8506a41702
NFSv4.1: Clean up session draining

Coalesce nfs4_check_drain_bc_complete and nfs4_check_drain_fc_complete
into a single function that can be called when the slot table is known
to be empty, then change nfs4_callback_free_slot() and nfs4_free_slot()
to use it.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/callback.h
fs/nfs/callback_xdr.c
fs/nfs/nfs4_fs.h
fs/nfs/nfs4proc.c
fs/nfs/nfs4state.c