]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitc77365c963cf8703ecf1004cd3b298068a3e1b76
tree449a02a25c425148a52c5bec073787902ad86fed
parent95b72eb0bdef6476b7e73061f0382adf46c5495a
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