diff options
author | root <root@potab.(none)> | 2005-08-10 14:43:43 +0200 |
---|---|---|
committer | root <root@potab.(none)> | 2005-08-10 14:43:43 +0200 |
commit | 9951e43f31b64aaff8b8fd3ae9e8255cbac8a6c7 (patch) | |
tree | be82d175ad14714836d10d3ee2a39c18fe677c8f /libmultipath/devmapper.h | |
parent | 48994c1b64fac2f9bb9ce4de6bfb4a03b242a023 (diff) | |
download | multipath-tools-9951e43f31b64aaff8b8fd3ae9e8255cbac8a6c7.tar.gz multipath-tools-9951e43f31b64aaff8b8fd3ae9e8255cbac8a6c7.tar.bz2 multipath-tools-9951e43f31b64aaff8b8fd3ae9e8255cbac8a6c7.zip |
[libmultipath] support multipath maps >2TB
Size field moved to ULL in struct path and multipath, as per
$KSRC/drivers/block/genhd.c suggests /sys/block/*/size size is.
Users updated.
Diffstat (limited to 'libmultipath/devmapper.h')
-rw-r--r-- | libmultipath/devmapper.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libmultipath/devmapper.h b/libmultipath/devmapper.h index 48bb268..d930aae 100644 --- a/libmultipath/devmapper.h +++ b/libmultipath/devmapper.h @@ -1,8 +1,9 @@ int dm_prereq (char *, int, int, int); int dm_simplecmd (int, const char *); -int dm_addmap (int, const char *, const char *, const char *, unsigned long); +int dm_addmap (int, const char *, const char *, const char *, + unsigned long long); int dm_map_present (char *); -int dm_get_map(char *, unsigned long *, char *); +int dm_get_map(char *, unsigned long long *, char *); int dm_get_status(char *, char *); int dm_type(char *, char *); int dm_flush_map (char *, char *); |