diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-23 13:09:38 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-12-06 00:30:44 +0100 |
commit | 5d63360dd8daffc2bc86531e9a44ff9d4881b102 (patch) | |
tree | 6fdad98cdfbbe3830d8cc3679c435ed8c8be0606 /fs/nfs/callback.h | |
parent | 69d206b5b39e298755b60e8e7056cb240182eb95 (diff) | |
download | op-kernel-dev-5d63360dd8daffc2bc86531e9a44ff9d4881b102.zip op-kernel-dev-5d63360dd8daffc2bc86531e9a44ff9d4881b102.tar.gz |
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>
Diffstat (limited to 'fs/nfs/callback.h')
-rw-r--r-- | fs/nfs/callback.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/callback.h b/fs/nfs/callback.h index e75631e..efd54f0a 100644 --- a/fs/nfs/callback.h +++ b/fs/nfs/callback.h @@ -167,8 +167,6 @@ extern __be32 nfs4_callback_layoutrecall( struct cb_layoutrecallargs *args, void *dummy, struct cb_process_state *cps); -extern void nfs4_check_drain_bc_complete(struct nfs4_session *ses); - struct cb_devicenotifyitem { uint32_t cbd_notify_type; uint32_t cbd_layout_type; |