]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
nfs41: increment_{open,lock}_seqid
authorBenny Halevy <bhalevy@panasas.com>
Wed, 1 Apr 2009 13:22:52 +0000 (09:22 -0400)
committerBenny Halevy <bhalevy@panasas.com>
Wed, 17 Jun 2009 19:43:45 +0000 (12:43 -0700)
commit34dc1ad752ad3f55b2a6e6cd8cfcf3504682fec7
tree8816d7038c09eae46e2da51561f2e80cc91063e0
parent78722e9c9208a312695178f5331511badd190598
nfs41: increment_{open,lock}_seqid

Unlike minorversion0, in nfsv4.1 the open and lock seqids need
not be incremented by the client and should always be set to zero.

This is implemented using a new nfs_rpc_ops methods -
increment_open_seqid and increment_lock_seqid

Signed-off-by: Rahul Iyer <iyer@netapp.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
[nfs41: check for session not minorversion]
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c
fs/nfs/nfs4state.c