summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2007-08-29 04:15:59 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2008-10-21 13:47:18 +0200
commit647b3d0084158c47b1aea8f34d13cab9cd0a5b49 (patch)
treec36d61d8c85c4e0e6160153ab99a6e7568b44a70 /drivers/md/dm.c
parent[PATCH] lose the unused file argument in generic_ide_ioctl() (diff)
downloadlinux-647b3d0084158c47b1aea8f34d13cab9cd0a5b49.tar.xz
linux-647b3d0084158c47b1aea8f34d13cab9cd0a5b49.zip
[PATCH] lose unused arguments in dm ioctl callbacks
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/md/dm.c')
-rw-r--r--drivers/md/dm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index 327de03a5bdf..5f0f4c8bcd3e 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -345,7 +345,7 @@ static int dm_blk_ioctl(struct inode *inode, struct file *file,
}
if (tgt->type->ioctl)
- r = tgt->type->ioctl(tgt, inode, file, cmd, arg);
+ r = tgt->type->ioctl(tgt, cmd, arg);
out:
dm_table_put(map);