]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
nfs41: do not zero seqid portion of stateid on close
authorAndy Adamson <andros@netapp.com>
Mon, 14 Dec 2009 20:46:16 +0000 (15:46 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 15 Dec 2009 18:58:36 +0000 (13:58 -0500)
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>
fs/nfs/nfs4proc.c

index 4d6560a73949cbdd57f5bd5e5e665d409de3a8bd..bd4555fbdf251248d6602f17ae5c2b42309738c1 100644 (file)
@@ -1931,8 +1931,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)