aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro <al@aretha.pdmi.ras.ru>2008-09-19 03:17:36 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2008-10-21 07:49:14 -0400
commit56b26add02b4bdea81d5e0ebda60db1fe3311ad4 (patch)
tree3e9b5877f77ce24a6d17574ff3d32ae8351fa0ef /include
parent6af3a56e1dd4d95836a47214e5c60d5b749a5501 (diff)
[PATCH] kill the rest of struct file propagation in block ioctls
Now we can switch blkdev_ioctl() block_device/mode Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 11de682c65a1..ff536e106b4e 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1717,7 +1717,7 @@ extern const struct file_operations bad_sock_fops;
1717extern const struct file_operations def_fifo_fops; 1717extern const struct file_operations def_fifo_fops;
1718#ifdef CONFIG_BLOCK 1718#ifdef CONFIG_BLOCK
1719extern int ioctl_by_bdev(struct block_device *, unsigned, unsigned long); 1719extern int ioctl_by_bdev(struct block_device *, unsigned, unsigned long);
1720extern int blkdev_ioctl(struct inode *, struct file *, unsigned, unsigned long); 1720extern int blkdev_ioctl(struct block_device *, fmode_t, unsigned, unsigned long);
1721extern long compat_blkdev_ioctl(struct file *, unsigned, unsigned long); 1721extern long compat_blkdev_ioctl(struct file *, unsigned, unsigned long);
1722extern int blkdev_get(struct block_device *, fmode_t); 1722extern int blkdev_get(struct block_device *, fmode_t);
1723extern int blkdev_put(struct block_device *, fmode_t); 1723extern int blkdev_put(struct block_device *, fmode_t);