]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
NFS: Call test_stateid() and free_stateid() with correct stateids
authorBryan Schumaker <bjschuma@netapp.com>
Tue, 31 Jan 2012 15:39:30 +0000 (10:39 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 6 Feb 2012 23:47:58 +0000 (18:47 -0500)
commitb01dd1d8fae6178cbec374b90da2e4a3b8dce9ba
tree64627fdd095c4659ebf02d4c9891fd172ecc5d04
parent1cab0652ba985d11b67645bd344c39ebb6cd28a2
NFS: Call test_stateid() and free_stateid() with correct stateids

I noticed that test_stateid() was always using the same stateid for open
and lock recovery.  After poking around a bit, I discovered that it was
always testing with a delegation stateid (even if there was no
delegation present).  I figured this wasn't correct, so now delegation
and open stateids are tested during open_expired() and lock stateids are
tested during lock_expired().

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c