summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-stripe.c
diff options
context:
space:
mode:
authorNikanth Karthikesan <knikanth@novell.com>2010-03-06 03:32:27 +0100
committerAlasdair G Kergon <agk@redhat.com>2010-03-06 03:32:27 +0100
commit8215d6ec5fee1e76545decea2cd73717efb5cb42 (patch)
tree54ed2c995c3b91417def0ad31368e3094f72bd81 /drivers/md/dm-stripe.c
parentdm ioctl: only issue uevent on resume if state changed (diff)
downloadlinux-8215d6ec5fee1e76545decea2cd73717efb5cb42.tar.xz
linux-8215d6ec5fee1e76545decea2cd73717efb5cb42.zip
dm table: remove unused dm_get_device range parameters
Remove unused parameters(start and len) of dm_get_device() and fix the callers. Signed-off-by: Nikanth Karthikesan <knikanth@suse.de> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-stripe.c')
-rw-r--r--drivers/md/dm-stripe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/dm-stripe.c b/drivers/md/dm-stripe.c
index bd58703ee8f6..e610725db766 100644
--- a/drivers/md/dm-stripe.c
+++ b/drivers/md/dm-stripe.c
@@ -80,8 +80,7 @@ static int get_stripe(struct dm_target *ti, struct stripe_c *sc,
if (sscanf(argv[1], "%llu", &start) != 1)
return -EINVAL;
- if (dm_get_device(ti, argv[0], start, sc->stripe_width,
- dm_table_get_mode(ti->table),
+ if (dm_get_device(ti, argv[0], dm_table_get_mode(ti->table),
&sc->stripe[stripe].dev))
return -ENXIO;