diff options
author | Andy Adamson <andros@netapp.com> | 2009-12-14 15:46:16 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-12-15 13:58:36 -0500 |
commit | a5523b84c40d34d2c30b45096fbb099b98e4b5a3 (patch) | |
tree | eca4f4e68d86cf99b010f628b91311a50e9cab4f /fs | |
parent | 5601a00d671fe89f9b087513244abcd08ad67e7d (diff) |
nfs41: do not zero seqid portion of stateid on close
Remove code left over from a previous minorversion draft.
which specified zeroing seqid portions of stateid's.
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/nfs4proc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 4d6560a73949..bd4555fbdf25 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -1931,8 +1931,6 @@ int nfs4_do_close(struct path *path, struct nfs4_state *state, int wait) | |||
1931 | calldata->state = state; | 1931 | calldata->state = state; |
1932 | calldata->arg.fh = NFS_FH(state->inode); | 1932 | calldata->arg.fh = NFS_FH(state->inode); |
1933 | calldata->arg.stateid = &state->open_stateid; | 1933 | calldata->arg.stateid = &state->open_stateid; |
1934 | if (nfs4_has_session(server->nfs_client)) | ||
1935 | memset(calldata->arg.stateid->data, 0, 4); /* clear seqid */ | ||
1936 | /* Serialization for the sequence id */ | 1934 | /* Serialization for the sequence id */ |
1937 | calldata->arg.seqid = nfs_alloc_seqid(&state->owner->so_seqid); | 1935 | calldata->arg.seqid = nfs_alloc_seqid(&state->owner->so_seqid); |
1938 | if (calldata->arg.seqid == NULL) | 1936 | if (calldata->arg.seqid == NULL) |