]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] r/o bind mounts: elevate write count for ioctls()
authorDave Hansen <haveblue@us.ibm.com>
Fri, 15 Feb 2008 22:37:46 +0000 (14:37 -0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 19 Apr 2008 04:29:24 +0000 (00:29 -0400)
commit42a74f206b914db13ee1f5ae932dcd91a77c8579
tree24e3dbe55edaacc750067ab9e01778255a6bff08
parent20ddee2c75339cc095f6191c3115f81da8955e96
[PATCH] r/o bind mounts: elevate write count for ioctls()

Some ioctl()s can cause writes to the filesystem.  Take these, and make them
use mnt_want/drop_write() instead.

[AV: updated]

Acked-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ext2/ioctl.c
fs/ext3/ioctl.c
fs/ext4/ioctl.c
fs/fat/file.c
fs/hfsplus/ioctl.c
fs/jfs/ioctl.c
fs/ocfs2/ioctl.c
fs/reiserfs/ioctl.c
fs/xfs/linux-2.6/xfs_ioctl.c