diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.de> | 2013-08-28 19:35:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-08-28 22:26:38 -0400 |
commit | 49fa8140e487b492da24c76ac3cccad0a0ae63e4 (patch) | |
tree | d1d409d22f7ac32e30db470f1c08620f449eafb3 /fs/ocfs2 | |
parent | 6f6b8951897e487ea6f77b90ea01f70a9c363770 (diff) |
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 <rgoldwyn@suse.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2')
-rw-r--r-- | fs/ocfs2/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index 854d80955bf8..121da2dc3be8 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) | |||
1022 | struct inode *inode = NULL; | 1022 | struct inode *inode = NULL; |
1023 | struct ocfs2_super *osb = NULL; | 1023 | struct ocfs2_super *osb = NULL; |
1024 | struct buffer_head *bh = NULL; | 1024 | struct buffer_head *bh = NULL; |
1025 | char nodestr[8]; | 1025 | char nodestr[12]; |
1026 | struct ocfs2_blockcheck_stats stats; | 1026 | struct ocfs2_blockcheck_stats stats; |
1027 | 1027 | ||
1028 | trace_ocfs2_fill_super(sb, data, silent); | 1028 | trace_ocfs2_fill_super(sb, data, silent); |