nilfs2: add reader's lock for cno in nilfs_ioctl_sync
authorJiro SEKIBA <jir@unicus.jp>
Sat, 20 Feb 2010 10:47:49 +0000 (19:47 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sat, 20 Feb 2010 12:18:19 +0000 (21:18 +0900)
commit0d561f12b490dd2b993d73112d3297007688e6df
tree3c754966cb9ec6647048ae2fd41428c9fa4b1b84
parent03f29365e84ff6d651be4e6186e0400ca59da6cd
nilfs2: add reader's lock for cno in nilfs_ioctl_sync

This adds reader's lock for the_nilfs->cno in nilfs_ioctl_sync,
for the_nilfs->cno should be proctected by segctor_sem when reading.

Signed-off-by: Jiro SEKIBA <jir@unicus.jp>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
fs/nilfs2/ioctl.c