NFSv4: Ensure correct locking when accessing the 'lock_states' list
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 9 Dec 2011 21:31:52 +0000 (16:31 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 9 Dec 2011 21:31:52 +0000 (16:31 -0500)
There are currently 2 places in the state recovery code, where we do not
take sufficient precautions before accessing the state->lock_states. In
both cases, we should be holding the state->state_lock.

Reported-by: Pascal Bouchareine <pascal@gandi.net>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found