Just open code it in the few callers.
Showing the changes to include/linux/blkdev.h (1 of 5 files). Show all
Unified · Split
| @@ -1867,8 +1867,6 @@ extern int blkdev_compat_ptr_ioctl(struct block_device *, fmode_t, · 1866 unmodified lines | |||
| 1867 | #define blkdev_compat_ptr_ioctl NULL | 1867 | #define blkdev_compat_ptr_ioctl NULL |
| 1868 | #endif | 1868 | #endif |
| 1869 | 1869 | ||
| 1870 | extern int __blkdev_driver_ioctl(struct block_device *, fmode_t, unsigned int, | ||
| 1871 | unsigned long); | ||
| 1872 | extern int bdev_read_page(struct block_device *, sector_t, struct page *); | 1870 | extern int bdev_read_page(struct block_device *, sector_t, struct page *); |
| 1873 | extern int bdev_write_page(struct block_device *, sector_t, struct page *, | 1871 | extern int bdev_write_page(struct block_device *, sector_t, struct page *, |
| 1874 | struct writeback_control *); | 1872 | struct writeback_control *); |