History

block: remove __blkdev_driver_ioctl

Just open code it in the few callers.

Christoph Hellwig committed 6 years ago

Commit a7cb3d21 parent 98f49b65 files · +16 −27Browse files

Showing the changes to include/linux/blkdev.h (1 of 5 files). Show all

Unified · Split

include/linux/blkdev.h+0−2
@@ -1867,8 +1867,6 @@ extern int blkdev_compat_ptr_ioctl(struct block_device *, fmode_t, · 1866 unmodified lines
1867#define blkdev_compat_ptr_ioctl NULL1867#define blkdev_compat_ptr_ioctl NULL
1868#endif1868#endif
1869 1869
1870extern int __blkdev_driver_ioctl(struct block_device *, fmode_t, unsigned int,
1871 unsigned long);
1872extern int bdev_read_page(struct block_device *, sector_t, struct page *);1870extern int bdev_read_page(struct block_device *, sector_t, struct page *);
1873extern int bdev_write_page(struct block_device *, sector_t, struct page *,1871extern int bdev_write_page(struct block_device *, sector_t, struct page *,
1874 struct writeback_control *);1872 struct writeback_control *);