summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-disk_ioctl.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-10-16 10:23:20 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2008-10-21 07:47:30 -0400
commitbadf8082c33d18b118d3a6f1b32d5ea6b97d3839 (patch)
tree0367c5fb192559ca8302a8a4810ab65c895b8162 /drivers/ide/ide-disk_ioctl.c
parent83ff6fe8580a7c834dba4389d742332fff9b9929 (diff)
downloadtalos-op-linux-badf8082c33d18b118d3a6f1b32d5ea6b97d3839.tar.gz
talos-op-linux-badf8082c33d18b118d3a6f1b32d5ea6b97d3839.zip
[PATCH] switch ide_disk_ops ->ioctl() to sane prototype
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/ide/ide-disk_ioctl.c')
-rw-r--r--drivers/ide/ide-disk_ioctl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ide-disk_ioctl.c b/drivers/ide/ide-disk_ioctl.c
index 41832af400d6..7b783dd7c0be 100644
--- a/drivers/ide/ide-disk_ioctl.c
+++ b/drivers/ide/ide-disk_ioctl.c
@@ -13,10 +13,9 @@ static const struct ide_ioctl_devset ide_disk_ioctl_settings[] = {
{ 0 }
};
-int ide_disk_ioctl(ide_drive_t *drive, struct inode *inode, struct file *file,
+int ide_disk_ioctl(ide_drive_t *drive, struct block_device *bdev, fmode_t mode,
unsigned int cmd, unsigned long arg)
{
- struct block_device *bdev = inode->i_bdev;
int err;
err = ide_setting_ioctl(drive, bdev, cmd, arg, ide_disk_ioctl_settings);
OpenPOWER on IntegriCloud