From: Goldwyn Rodrigues Date: Wed, 28 Aug 2013 23:35:21 +0000 (-0700) Subject: fs/ocfs2/super.c: Use bigger nodestr to accomodate 32-bit node numbers X-Git-Tag: v3.11~13^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=49fa8140e487b492da24c76ac3cccad0a0ae63e4;p=profile%2Fcommon%2Fkernel-common.git 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. Signed-off-by: Goldwyn Rodrigues Cc: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index 854d809..121da2d 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c @@ -1022,7 +1022,7 @@ static int ocfs2_fill_super(struct super_block *sb, void *data, int silent) 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);