From: Ryusuke Konishi Date: Tue, 26 Jan 2010 04:59:40 +0000 (+0900) Subject: nilfs2: use mnt_want_write in ioctls where write access is needed X-Git-Tag: v2.6.34-rc1~213^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7512487e6d6459e4c3f9c7cedc53050a6c30e387;p=pandora-kernel.git 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 --- Reading git-diff-tree failed