diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-12-09 16:31:52 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-12-09 16:31:52 -0500 |
commit | 4b44b40e04a758e2242ff4a3f7c15982801ec8bc (patch) | |
tree | 2af50d7cbe9ed6c90bfb6581aac9fb0cdea6ea44 /fs/pipe.c | |
parent | 111d489f0fb431f4ae85d96851fbf8d3248c09d8 (diff) | |
download | op-kernel-dev-4b44b40e04a758e2242ff4a3f7c15982801ec8bc.zip op-kernel-dev-4b44b40e04a758e2242ff4a3f7c15982801ec8bc.tar.gz |
NFSv4: Ensure correct locking when accessing the 'lock_states' list
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>
Diffstat (limited to 'fs/pipe.c')
0 files changed, 0 insertions, 0 deletions