summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/lvm2/files/lvm2-2.02.99-fix-mda-offset-size-overflow-4g-with-lvmetad.patch')
-rw-r--r--sys-fs/lvm2/files/lvm2-2.02.99-fix-mda-offset-size-overflow-4g-with-lvmetad.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/sys-fs/lvm2/files/lvm2-2.02.99-fix-mda-offset-size-overflow-4g-with-lvmetad.patch b/sys-fs/lvm2/files/lvm2-2.02.99-fix-mda-offset-size-overflow-4g-with-lvmetad.patch
deleted file mode 100644
index d362cf05cbe0..000000000000
--- a/sys-fs/lvm2/files/lvm2-2.02.99-fix-mda-offset-size-overflow-4g-with-lvmetad.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-http://pkgs.fedoraproject.org/cgit/lvm2.git/plain/lvm2-2_02_100-fix-mda-offset-size-overflow-4g-with-lvmetad.patch
-
-WHATS_NEW | 4 ++++
- lib/format_text/format-text.c | 4 ++--
- 2 files changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/WHATS_NEW b/WHATS_NEW
-index 039ddec..f2f5ba4 100644
---- a/WHATS_NEW
-+++ b/WHATS_NEW
-@@ -1,3 +1,7 @@
-+Version 2.02.100 -
-+================================
-+ Fix metadata area offset/size overflow if it's >= 4g and while using lvmetad.
-+
- Version 2.02.99 - 24th July 2013
- ================================
- Do not zero init 4KB of thin snapshot for non-zeroing thin pool (2.02.94).
-diff --git a/lib/format_text/format-text.c b/lib/format_text/format-text.c
-index b210603..950e0d5 100644
---- a/lib/format_text/format-text.c
-+++ b/lib/format_text/format-text.c
-@@ -1688,12 +1688,12 @@ static int _mda_import_text_raw(struct lvmcache_info *info, const struct dm_conf
-
- cn = cn->child;
- device = lvmcache_device(info);
-- size = dm_config_find_int(cn, "size", 0);
-+ size = dm_config_find_int64(cn, "size", 0);
-
- if (!device || !size)
- return 0;
-
-- offset = dm_config_find_int(cn, "start", 0);
-+ offset = dm_config_find_int64(cn, "start", 0);
- ignore = dm_config_find_int(cn, "ignore", 0);
-
- lvmcache_add_mda(info, device, offset, size, ignore);