https://github.com/torvalds/linux
Revision 1154ecbd2f8298ef75609f5f8ed5aca96be599fb authored by Zhang Qiang on 18 August 2009, 06:58:24 UTC, committed by Ryusuke Konishi on 18 August 2009, 08:32:27 UTC
'ns_cno' of structure 'the_nilfs' must be protected from segment
writer, in other words, the caller of nilfs_get_checkpoint should hold
read lock for nilfs->ns_segctor_sem.  This patch adds the lock/unlock
operations in nilfs_attach_checkpoint() when calling
nilfs_cpfile_get_checkpoint().

Signed-off-by: Zhang Qiang <zhangqiang.buaa@gmail.com>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
1 parent 64f1607
History
Tip revision: 1154ecbd2f8298ef75609f5f8ed5aca96be599fb authored by Zhang Qiang on 18 August 2009, 06:58:24 UTC
nilfs2: missing a read lock for segment writer in nilfs_attach_checkpoint()
Tip revision: 1154ecb
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 952 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 148.2 KB
Makefile -rw-r--r-- 53.9 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top