NFSv4: Ensure correct locking when accessing the 'lock_states' list
Trond Myklebust authored

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: default avatarPascal Bouchareine <pascal@gandi.net>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
4b44b40e
Name Last commit Last update
..
9p filesystems: add set_nlink()
adfs filesystems: add set_nlink()
affs filesystems: add set_nlink()
afs filesystems: add set_nlink()
autofs4 filesystems: add set_nlink()
befs filesystems: add set_nlink()
bfs filesystems: add set_nlink()
btrfs Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs
cachefiles kill useless checks for sb->s_op == NULL
ceph ceph: initialize root dentry
cifs Merge git://git.samba.org/sfrench/cifs-2.6
coda filesystems: add set_nlink()
configfs doc: fix broken references
cramfs cramfs: get_cramfs_inode() returns ERR_PTR() on failure
debugfs debugfs: Fix a comment mistake
devpts filesystems: add set_nlink()
dlm Merge branch 'for-3.1' of git://linux-nfs.org/~bfields/linux
ecryptfs eCryptfs: Extend array bounds for all filename chars
efs filesystems: add set_nlink()
exofs Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux
exportfs vfs: Add open by file handle support
ext2 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/hch/vfs-queue
ext3 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/hch/vfs-queue
ext4 ext4: fix racy use-after-free in ext4_end_io_dio()
fat filesystems: add set_nlink()
freevxfs
fscache
fuse
gfs2
hfs
hfsplus
hostfs
hpfs
hppfs
hugetlbfs
isofs
jbd
jbd2
jffs2
jfs
lockd
logfs
minix
ncpfs
nfs
nfs_common
nfsd
nilfs2
nls
notify
ntfs
ocfs2
omfs
openpromfs
partitions
proc
pstore
qnx4
quota
ramfs
reiserfs
romfs
squashfs
sysfs
sysv
ubifs
udf
ufs
xfs
Kconfig
Kconfig.binfmt
Makefile
aio.c
anon_inodes.c
attr.c
bad_inode.c
binfmt_aout.c
binfmt_elf.c
binfmt_elf_fdpic.c
binfmt_em86.c
binfmt_flat.c
binfmt_misc.c
binfmt_script.c
binfmt_som.c
bio-integrity.c
bio.c
block_dev.c
buffer.c
char_dev.c
compat.c
compat_binfmt_elf.c
compat_ioctl.c
dcache.c
dcookies.c
direct-io.c
drop_caches.c
eventfd.c
eventpoll.c
exec.c
fcntl.c
fhandle.c
fifo.c
file.c
file_table.c
filesystems.c
fs-writeback.c
fs_struct.c
generic_acl.c
inode.c
internal.h
ioctl.c
ioprio.c
libfs.c
locks.c
mbcache.c
mpage.c
namei.c
namespace.c
no-block.c
open.c
pipe.c
pnode.c
pnode.h
posix_acl.c
read_write.c
read_write.h
readdir.c
select.c
seq_file.c
signalfd.c
splice.c
stack.c
stat.c
statfs.c
super.c
sync.c
timerfd.c
utimes.c
xattr.c
xattr_acl.c