History

[PATCH] switch scsi_cmd_ioctl() to passing fmode_t

Al Viro committed 19 years ago

Commit 74f3c8a1 parent e915e8710 files · +20 −18Browse files

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

Unified · Split

include/linux/blkdev.h+2−2
@@ -717,8 +717,8 @@ extern void blk_plug_device(struct request_queue *); · 716 unmodified lines
717extern void blk_plug_device_unlocked(struct request_queue *);717extern void blk_plug_device_unlocked(struct request_queue *);
718extern int blk_remove_plug(struct request_queue *);718extern int blk_remove_plug(struct request_queue *);
719extern void blk_recount_segments(struct request_queue *, struct bio *);719extern void blk_recount_segments(struct request_queue *, struct bio *);
720extern int scsi_cmd_ioctl(struct file *, struct request_queue *,720extern int scsi_cmd_ioctl(struct request_queue *, struct gendisk *, fmode_t,
721 struct gendisk *, unsigned int, void __user *);721 unsigned int, void __user *);
722extern int sg_scsi_ioctl(struct request_queue *, struct gendisk *, fmode_t,722extern int sg_scsi_ioctl(struct request_queue *, struct gendisk *, fmode_t,
723 struct scsi_ioctl_command __user *);723 struct scsi_ioctl_command __user *);
724 724