summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/bmap_union.h
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-01-26 13:59:40 +0900
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-02-13 12:26:02 +0900
commit7512487e6d6459e4c3f9c7cedc53050a6c30e387 (patch)
treea2f7ed0a787be5ccd3bcd92b6e9f2f3e4eb3267b /fs/nilfs2/bmap_union.h
parente902ec9906e844f4613fa6190c6fa65f162dc86e (diff)
downloadblackbird-op-linux-7512487e6d6459e4c3f9c7cedc53050a6c30e387.tar.gz
blackbird-op-linux-7512487e6d6459e4c3f9c7cedc53050a6c30e387.zip
nilfs2: use mnt_want_write in ioctls where write access is needed
A few nilfs2 ioctls need to ask for and then later release write access to the mount in order to avoid potential write to read-only mounts. This adds the missing mnt_want_write and mnt_drop_write in nilfs_ioctl_change_cpmode, nilfs_ioctl_delete_checkpoint, and nilfs_ioctl_clean_segments. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/bmap_union.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud