NFSv4 release the sequence id in the return on close case
Subsystems (2)
PATCH 1/1 NFSv4 release the sequence id in the return on close case
From: Andy Adamson <[email protected]>
Signed-off-by Andy Adamson <[email protected]>
--- fs/nfs/nfs4proc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
fs/nfs/nfs4proc.c +3 -1
@@ -2276,8 +2276,10 @@ static void nfs4_close_prepare(struct rpc_task *task, void *data)if (calldata->arg.fmode ==0 ) { task->tk_msg.rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_CLOSE ];if (calldata->roc && -pnfs_roc_drain (inode, &calldata->roc_barrier, task)) +pnfs_roc_drain (inode, &calldata->roc_barrier, task)) { +nfs_release_seqid (calldata->arg.seqid); goto out_wait; + } }nfs_fattr_init (calldata->res.fattr);
Signature · 1 line
1.7.10.2 (Apple Git-33)