|
@@ -1523,6 +1523,9 @@ extern const struct file_operations def_fifo_fops;
|
|
#ifdef CONFIG_BLOCK
|
|
#ifdef CONFIG_BLOCK
|
|
extern int ioctl_by_bdev(struct block_device *, unsigned, unsigned long);
|
|
extern int ioctl_by_bdev(struct block_device *, unsigned, unsigned long);
|
|
extern int blkdev_ioctl(struct inode *, struct file *, unsigned, unsigned long);
|
|
extern int blkdev_ioctl(struct inode *, struct file *, unsigned, unsigned long);
|
|
|
|
+extern int blkdev_driver_ioctl(struct inode *inode, struct file *file,
|
|
|
|
+ struct gendisk *disk, unsigned cmd,
|
|
|
|
+ unsigned long arg);
|
|
extern long compat_blkdev_ioctl(struct file *, unsigned, unsigned long);
|
|
extern long compat_blkdev_ioctl(struct file *, unsigned, unsigned long);
|
|
extern int blkdev_get(struct block_device *, mode_t, unsigned);
|
|
extern int blkdev_get(struct block_device *, mode_t, unsigned);
|
|
extern int blkdev_put(struct block_device *);
|
|
extern int blkdev_put(struct block_device *);
|