]> git.karo-electronics.de Git - mv-sheeva.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)
commitcf470c3e004efe16d73dc8ba9b29bdc9a5327cda
tree57f8f72ef5af7d33d760570bd8d78e9b0face719
parent9cb8196839ab4ec87710526e9c43ac7f5dba69d3
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