]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Don't free the nfs4_lock_state until after the release_lockowner
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 7 Mar 2012 18:49:12 +0000 (13:49 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 7 Mar 2012 18:49:12 +0000 (13:49 -0500)
commit41a759e14b8bd9406a92e0349ee4e874d18f1731
tree57f8f72ef5af7d33d760570bd8d78e9b0face719
parente164d7de40785b9b764d7e930e305f7153ae4143
NFSv4: Don't free the nfs4_lock_state until after the release_lockowner

Otherwise we can end up with sequence id problems if the client reuses
the owner_id before the server has processed the release_lockowner

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4_fs.h
fs/nfs/nfs4proc.c
fs/nfs/nfs4state.c