nfs41: do not zero seqid portion of stateid on close
Subsystems (2)
PATCH 1/1 nfs41: do not zero seqid portion of stateid on close
From: Andy Adamson <[email protected]>
Remove code left over from a previous minorversion draft. which specified zeroing seqid portions of stateid's.
Signed-off-by Andy Adamson <[email protected]>
--- fs/nfs/nfs4proc.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
fs/nfs/nfs4proc.c +0 -2
@@ -1854,8 +1854,6 @@ int nfs4_do_close(struct path *path, struct nfs4_state *state, int wait) calldata->state = state; calldata->arg.fh =NFS_FH (state->inode); calldata->arg.stateid = &state->open_stateid; -if (nfs4_has_session (server->nfs_client)) -memset (calldata->arg.stateid->data,0 ,4 );/* clear seqid */ /* Serialization for the sequence id */ calldata->arg.seqid =nfs_alloc_seqid (&state->owner->so_seqid);if (calldata->arg.seqid ==NULL )
Signature · 1 line
1.6.0.6