summaryrefslogtreecommitdiffstats
path: root/include/linux/device-mapper.h
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 /include/linux/device-mapper.h
parent1bddd9e6453ef1c7bc5b6f4ddbf7d31f4aee7a44 (diff)
downloadblackbird-op-linux-647b3d0084158c47b1aea8f34d13cab9cd0a5b49.tar.gz
blackbird-op-linux-647b3d0084158c47b1aea8f34d13cab9cd0a5b49.zip
[PATCH] lose unused arguments in dm ioctl callbacks
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/device-mapper.h')
-rw-r--r--include/linux/device-mapper.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h
index 3f8d4e763672..a567bbc5293a 100644
--- a/include/linux/device-mapper.h
+++ b/include/linux/device-mapper.h
@@ -69,8 +69,7 @@ typedef int (*dm_status_fn) (struct dm_target *ti, status_type_t status_type,
typedef int (*dm_message_fn) (struct dm_target *ti, unsigned argc, char **argv);
-typedef int (*dm_ioctl_fn) (struct dm_target *ti, struct inode *inode,
- struct file *filp, unsigned int cmd,
+typedef int (*dm_ioctl_fn) (struct dm_target *ti, unsigned int cmd,
unsigned long arg);
typedef int (*dm_merge_fn) (struct dm_target *ti, struct bvec_merge_data *bvm,
OpenPOWER on IntegriCloud