]> git.karo-electronics.de Git - karo-tx-linux.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>
Mon, 26 Nov 2012 22:52:45 +0000 (17:52 -0500)
commitc10f5636fdad32f582fe208a6299bab3bb984890
tree6fdad98cdfbbe3830d8cc3679c435ed8c8be0606
parent22eb165e3fdf6f454c074a22a30dc8a2e7459399
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