Skip to contentSkip to conversation

master - config: support longer config paths

PATCH Zdenek Kabelac 1 participant 1 message Aug 12, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=13c7bbf8a9ff2fad2718ba6cb627d7fcef766900
Commit:        13c7bbf8a9ff2fad2718ba6cb627d7fcef766900
Parent:        533ac4d47dcecc976c05ba503acff11b9546b67c
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Jul 23 14:21:35 2015 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Wed Aug 12 14:33:15 2015 +0200

config: support longer config paths

64 bytes might not be enough, so use larger buffer size.

---
 lib/config/config.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/config/config.h +1 -1
index fb39e6e..e112223 100644
@@ -50,7 +50,7 @@ struct profile_params {
 	struct dm_list profiles;                 /* list of profiles which are loaded already and which are ready for use */
 };
 
-#define CFG_PATH_MAX_LEN 64
+#define CFG_PATH_MAX_LEN 128
 
 /*
  * Structures used for definition of a configuration tree.