[Ocfs2-tools-devel] [PATCH 07/10] mounted.ocfs2: Support full PATH_MAX pathnames
Sunil Mushran
sunil.mushran at oracle.com
Tue Jul 22 14:44:15 PDT 2008
From: Jeff Mahoney <jeffm at suse.com>
References: 374353
This patch extends ocfs2-tools to allow full 4096 character
path names. This allows things like by-path on iscsi volumes
to work as expected.
Signed-off-by: Jeff Mahoney <jeffm at suse.com>
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
---
include/ocfs2/ocfs2.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/ocfs2/ocfs2.h b/include/ocfs2/ocfs2.h
index c8d446e..21b08d5 100644
--- a/include/ocfs2/ocfs2.h
+++ b/include/ocfs2/ocfs2.h
@@ -196,7 +196,7 @@ struct ocfs2_slot_map_data {
struct _ocfs2_devices {
struct list_head list;
- char dev_name[100];
+ char dev_name[PATH_MAX];
uint8_t label[64];
uint8_t uuid[16];
int mount_flags;
--
1.5.4.3
More information about the Ocfs2-tools-devel
mailing list