lvm2: update to version 2.02.164

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle
2016-08-30 17:02:21 +02:00
parent 4944d6e1b5
commit 0d3a10e3b4
4 changed files with 10 additions and 26 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
--- a/lib/mm/memlock.c
+++ b/lib/mm/memlock.c
@@ -169,12 +169,15 @@ static void _allocate_memory(void)
@@ -174,12 +174,15 @@ static void _allocate_memory(void)
* memory on free(), this is good enough for our purposes.
*/
while (missing > 0) {
@@ -16,7 +16,7 @@
inf = mallinfo();
if (hblks < inf.hblks) {
@@ -184,9 +187,12 @@ static void _allocate_memory(void)
@@ -189,9 +192,12 @@ static void _allocate_memory(void)
free(areas[area]);
_size_malloc_tmp /= 2;
} else {
@@ -29,7 +29,7 @@
if (area == max_areas && missing > 0) {
/* Too bad. Warn the user and proceed, as things are
@@ -475,8 +481,13 @@ static void _lock_mem(struct cmd_context
@@ -480,8 +486,13 @@ static void _lock_mem(struct cmd_context
* will not block memory locked thread
* Note: assuming _memlock_count_daemon is updated before _memlock_count
*/