diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2007-08-29 20:34:12 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-10-21 07:47:26 -0400 |
| commit | 633a08b81206122469365b4c72eaeb71f04f2cb4 (patch) | |
| tree | 9cd30507efd30645d30d351c7ad0d5966f806532 /include/linux/blkdev.h | |
| parent | a0eb62a0a4470fef5a5f41e7f1442fdd667220ef (diff) | |
[PATCH] introduce __blkdev_driver_ioctl()
Analog of blkdev_driver_ioctl() with sane arguments. For
now uses fake struct file, by the end of the series it won't
and blkdev_driver_ioctl() will become a wrapper around it.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/blkdev.h')
| -rw-r--r-- | include/linux/blkdev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 48ec8862a11a..2bad616b9949 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
| @@ -1074,6 +1074,8 @@ struct block_device_operations { | |||
| 1074 | struct module *owner; | 1074 | struct module *owner; |
| 1075 | }; | 1075 | }; |
| 1076 | 1076 | ||
| 1077 | extern int __blkdev_driver_ioctl(struct block_device *, fmode_t, unsigned int, | ||
| 1078 | unsigned long); | ||
| 1077 | #else /* CONFIG_BLOCK */ | 1079 | #else /* CONFIG_BLOCK */ |
| 1078 | /* | 1080 | /* |
| 1079 | * stubs for when the block layer is configured out | 1081 | * stubs for when the block layer is configured out |
