]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Ensure that we don't drop a state owner more than once
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 21 Apr 2012 16:31:05 +0000 (12:31 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 21 Apr 2012 16:31:05 +0000 (12:31 -0400)
commit8f2f3e61236259d7d6b577a1f285b4957e05e89a
tree449a02a25c425148a52c5bec073787902ad86fed
parent5d304808db00fddec0ff221606c7fd19ecec9a24
NFSv4: Ensure that we don't drop a state owner more than once

Retest the RB_EMPTY_NODE() condition under the spin lock
to ensure that we don't call rb_erase() more than once on the
same state owner.

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