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)
commit5d63360dd8daffc2bc86531e9a44ff9d4881b102
tree6fdad98cdfbbe3830d8cc3679c435ed8c8be0606
parent69d206b5b39e298755b60e8e7056cb240182eb95
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