summaryrefslogtreecommitdiffstats
path: root/include
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
parent1bddd9e6453ef1c7bc5b6f4ddbf7d31f4aee7a44 (diff)
downloadop-kernel-dev-647b3d0084158c47b1aea8f34d13cab9cd0a5b49.zip
op-kernel-dev-647b3d0084158c47b1aea8f34d13cab9cd0a5b49.tar.gz
[PATCH] lose unused arguments in dm ioctl callbacks
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-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 3f8d4e7..a567bbc 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