diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-09-02 21:16:41 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-10-21 11:47:12 (GMT) |
commit | e915e872ed921d707bc32b3f2184d43abfa8c9e2 (patch) | |
tree | 698142e0a56622c3a3c0740522537dbff703732a /include/linux/blkdev.h | |
parent | 5842e51ff2e8d660756248db80ad24e4f41977d9 (diff) | |
download | linux-fsl-qoriq-e915e872ed921d707bc32b3f2184d43abfa8c9e2.tar.xz |
[PATCH] switch sg_scsi_ioctl() to passing fmode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index a4413ec..8945c30 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -719,8 +719,8 @@ extern int blk_remove_plug(struct request_queue *); extern void blk_recount_segments(struct request_queue *, struct bio *); extern int scsi_cmd_ioctl(struct file *, struct request_queue *, struct gendisk *, unsigned int, void __user *); -extern int sg_scsi_ioctl(struct file *, struct request_queue *, - struct gendisk *, struct scsi_ioctl_command __user *); +extern int sg_scsi_ioctl(struct request_queue *, struct gendisk *, fmode_t, + struct scsi_ioctl_command __user *); /* * Temporary export, until SCSI gets fixed up. |