Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117498
b: refs/heads/master
c: 647b3d0
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Oct 21, 2008
1 parent d9f0232 commit 5990175
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1bddd9e6453ef1c7bc5b6f4ddbf7d31f4aee7a44
refs/heads/master: 647b3d0084158c47b1aea8f34d13cab9cd0a5b49
3 changes: 1 addition & 2 deletions trunk/drivers/md/dm-linear.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/md/dm-mpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -1395,8 +1395,7 @@ static int multipath_message(struct dm_target *ti, unsigned argc, char **argv)
return -EINVAL;
}

static int multipath_ioctl(struct dm_target *ti, struct inode *inode,
struct file *filp, unsigned int cmd,
static int multipath_ioctl(struct dm_target *ti, unsigned int cmd,
unsigned long arg)
{
struct multipath *m = (struct multipath *) ti->private;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/md/dm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 1 addition & 2 deletions trunk/include/linux/device-mapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5990175

Please sign in to comment.