diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2007-08-27 15:38:10 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-10-21 07:47:14 -0400 |
commit | 74f3c8aff36ad6552ea609c8b20bfd588fa16f38 (patch) | |
tree | c046823751971ff37b66499282ca2b2e263cc71a /drivers/block/cciss.c | |
parent | e915e872ed921d707bc32b3f2184d43abfa8c9e2 (diff) |
[PATCH] switch scsi_cmd_ioctl() to passing fmode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/block/cciss.c')
-rw-r--r-- | drivers/block/cciss.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index 1e1f9153000c..d9b1c15b8113 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c | |||
@@ -1232,7 +1232,8 @@ static int cciss_ioctl(struct inode *inode, struct file *filep, | |||
1232 | case SG_EMULATED_HOST: | 1232 | case SG_EMULATED_HOST: |
1233 | case SG_IO: | 1233 | case SG_IO: |
1234 | case SCSI_IOCTL_SEND_COMMAND: | 1234 | case SCSI_IOCTL_SEND_COMMAND: |
1235 | return scsi_cmd_ioctl(filep, disk->queue, disk, cmd, argp); | 1235 | return scsi_cmd_ioctl(disk->queue, disk, |
1236 | filep ? filep->f_mode : 0, cmd, argp); | ||
1236 | 1237 | ||
1237 | /* scsi_cmd_ioctl would normally handle these, below, but */ | 1238 | /* scsi_cmd_ioctl would normally handle these, below, but */ |
1238 | /* they aren't a good fit for cciss, as CD-ROMs are */ | 1239 | /* they aren't a good fit for cciss, as CD-ROMs are */ |