Skip to contentSkip to conversation

+ fs-ocfs2-superc-use-bigger-nodestr-to-accomodate-32-bit-node-numbers.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Aug 28, 2013 OCFS2

lore
Share & tools
lore
#0 lore raw

Subject: + fs-ocfs2-superc-use-bigger-nodestr-to-accomodate-32-bit-node-numbers.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 28 Aug 2013 14:48:55 -0700

The patch titled
Subject: fs/ocfs2/super.c: Use bigger nodestr to accomodate 32-bit node numbers
has been added to the -mm tree. Its filename is
fs-ocfs2-superc-use-bigger-nodestr-to-accomodate-32-bit-node-numbers.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/fs-ocfs2-superc-use-bigger-nodestr-to-accomodate-32-bit-node-numbers.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/fs-ocfs2-superc-use-bigger-nodestr-to-accomodate-32-bit-node-numbers.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Goldwyn Rodrigues <[email protected]>
Subject: fs/ocfs2/super.c: Use bigger nodestr to accomodate 32-bit node numbers

While using pacemaker/corosync, the node numbers are generated using IP address as opposed to serial node number generation. This may not fit in a 8-byte string. Use a bigger string to print the complete node number.

---

 fs/ocfs2/super.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ocfs2/super.c renamed from fs/ocfs2/super.c~fs-ocfs2-superc-use-bigger-nodestr-to-accomodate-32-bit-node-numbers +1 -1
diff -puN fs/ocfs2/super.c~fs-ocfs2-superc-use-bigger-nodestr-to-accomodate-32-bit-node-numbers fs/ocfs2/super.c
@@ -1022,7 +1022,7 @@ static int ocfs2_fill_super(struct super
 	struct inode *inode = NULL;
 	struct ocfs2_super *osb = NULL;
 	struct buffer_head *bh = NULL;
-	char nodestr[8];
+	char nodestr[12];
 	struct ocfs2_blockcheck_stats stats;
 
 	trace_ocfs2_fill_super(sb, data, silent);

_

Patches currently in -mm which might be from [email protected] are

fs-ocfs2-superc-use-bigger-nodestr-to-accomodate-32-bit-node-numbers.patch