summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2010-02-25 14:23:39 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2010-02-25 14:23:39 +1100
commitdbbf06aaa3e762766c2bef6f42910301cd34d789 (patch)
treece49e4e8cf85ff0bacb08ae0a08f5949156e1de1 /include
parent68eb5fcbaa30d5c0fcd95789ec59eb8e5ea70e6a (diff)
parent2f057f16fbf8f6c27cd07fca32f03e81bf1b84b7 (diff)
Merge branch 'quilt/device-mapper'
Diffstat (limited to 'include')
-rw-r--r--include/linux/device-mapper.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h
index d4c9c0b88adc..1381cd97b4ed 100644
--- a/include/linux/device-mapper.h
+++ b/include/linux/device-mapper.h
@@ -118,10 +118,9 @@ struct dm_dev {
/*
* Constructors should call these functions to ensure destination devices
* are opened/closed correctly.
- * FIXME: too many arguments.
*/
-int dm_get_device(struct dm_target *ti, const char *path, sector_t start,
- sector_t len, fmode_t mode, struct dm_dev **result);
+int dm_get_device(struct dm_target *ti, const char *path, fmode_t mode,
+ struct dm_dev **result);
void dm_put_device(struct dm_target *ti, struct dm_dev *d);
/*