]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1: nfs4_callback_free_slot() cannot call nfs4_slot_tbl_drain_complete()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 27 Jun 2017 21:40:50 +0000 (17:40 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 28 Jun 2017 02:26:23 +0000 (22:26 -0400)
commitd214346d364d9661bd67c5f56e0cca86d178f642
tree7152005780458fa4f1927e754bc3d97a48025125
parent226ecf591258c7cd86c1f6d431923c8231523ba6
NFSv4.1: nfs4_callback_free_slot() cannot call nfs4_slot_tbl_drain_complete()

The current code works only for the case where we have exactly one slot,
which is no longer true.
nfs4_free_slot() will automatically declare the callback channel to be
drained when all slots have been returned.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/callback_xdr.c