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
18671867 #define blkdev_compat_ptr_ioctl NULL
18681868 #endif
18691869
1870−extern int __blkdev_driver_ioctl(struct block_device *, fmode_t, unsigned int,
1871− unsigned long);
18721870 extern int bdev_read_page(struct block_device *, sector_t, struct page *);
18731871 extern int bdev_write_page(struct block_device *, sector_t, struct page *,
18741872 struct writeback_control *);