aboutsummaryrefslogtreecommitdiff
path: root/drivers/md/dm-log.c
diff options
context:
space:
mode:
authorNikanth Karthikesan <knikanth@novell.com>2010-03-06 02:32:27 +0000
committerAlasdair G Kergon <agk@redhat.com>2010-03-06 02:32:27 +0000
commit8215d6ec5fee1e76545decea2cd73717efb5cb42 (patch)
tree54ed2c995c3b91417def0ad31368e3094f72bd81 /drivers/md/dm-log.c
parent0f3649a9e305ea22eb196a84a2d7520afcaa6060 (diff)
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-log.c')
-rw-r--r--drivers/md/dm-log.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/dm-log.c b/drivers/md/dm-log.c
index 7035582786f..5a08be0222d 100644
--- a/drivers/md/dm-log.c
+++ b/drivers/md/dm-log.c
@@ -543,8 +543,7 @@ static int disk_ctr(struct dm_dirty_log *log, struct dm_target *ti,
return -EINVAL;
}
- r = dm_get_device(ti, argv[0], 0, 0 /* FIXME */,
- FMODE_READ | FMODE_WRITE, &dev);
+ r = dm_get_device(ti, argv[0], FMODE_READ | FMODE_WRITE, &dev);
if (r)
return r;