]> 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)
commit7e66900fde83e35975a359e7875338d2d3f731c4
tree449a02a25c425148a52c5bec073787902ad86fed
parentc21b1461e0e3f7b8a3071a801e0e38f6a0ee022f
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