diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2007-08-28 22:15:59 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-10-21 07:47:18 -0400 |
commit | 647b3d0084158c47b1aea8f34d13cab9cd0a5b49 (patch) | |
tree | c36d61d8c85c4e0e6160153ab99a6e7568b44a70 /drivers/md/dm-linear.c | |
parent | 1bddd9e6453ef1c7bc5b6f4ddbf7d31f4aee7a44 (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-linear.c')
-rw-r--r-- | drivers/md/dm-linear.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/dm-linear.c b/drivers/md/dm-linear.c index 6449bcdf84ca..fa358385eed3 100644 --- a/drivers/md/dm-linear.c +++ b/drivers/md/dm-linear.c @@ -110,8 +110,7 @@ static int linear_status(struct dm_target *ti, status_type_t type, return 0; } -static int linear_ioctl(struct dm_target *ti, struct inode *inode, - struct file *filp, unsigned int cmd, +static int linear_ioctl(struct dm_target *ti, unsigned int cmd, unsigned long arg) { struct linear_c *lc = (struct linear_c *) ti->private; |