aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-mpath.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2007-08-28 22:15:59 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2008-10-21 07:47:18 -0400
commit647b3d0084158c47b1aea8f34d13cab9cd0a5b49 (patch)
treec36d61d8c85c4e0e6160153ab99a6e7568b44a70 /drivers/md/dm-mpath.c
parent1bddd9e6453ef1c7bc5b6f4ddbf7d31f4aee7a44 (diff)
[PATCH] lose unused arguments in dm ioctl callbacks
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/md/dm-mpath.c')
-rw-r--r--drivers/md/dm-mpath.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c
index 9bf3460c5540..c681d5e5f45c 100644
--- a/drivers/md/dm-mpath.c
+++ b/drivers/md/dm-mpath.c
@@ -1395,8 +1395,7 @@ error:
1395 return -EINVAL; 1395 return -EINVAL;
1396} 1396}
1397 1397
1398static int multipath_ioctl(struct dm_target *ti, struct inode *inode, 1398static int multipath_ioctl(struct dm_target *ti, unsigned int cmd,
1399 struct file *filp, unsigned int cmd,
1400 unsigned long arg) 1399 unsigned long arg)
1401{ 1400{
1402 struct multipath *m = (struct multipath *) ti->private; 1401 struct multipath *m = (struct multipath *) ti->private;