diff options
| author | Zhang Qiang <[email protected]> | 2009-08-18 06:58:24 +0000 |
|---|---|---|
| committer | Ryusuke Konishi <[email protected]> | 2009-08-18 08:32:27 +0000 |
| commit | 1154ecbd2f8298ef75609f5f8ed5aca96be599fb (patch) | |
| tree | a6801fc442fecf4c0b2a1dc1d7a5350910983041 /lib/dma-debug.c | |
| parent | Linux 2.6.31-rc6 (diff) | |
| download | kernel-1154ecbd2f8298ef75609f5f8ed5aca96be599fb.tar.gz kernel-1154ecbd2f8298ef75609f5f8ed5aca96be599fb.zip | |
nilfs2: missing a read lock for segment writer in nilfs_attach_checkpoint()
'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 <[email protected]>
Signed-off-by: Ryusuke Konishi <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions
