projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9809b18
)
fs/ocfs2/super.c: use a bigger nodestr in ocfs2_dismount_volume
author
Goldwyn Rodrigues
<
[email protected]
>
Tue, 24 Sep 2013 22:27:32 +0000
(15:27 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 25 Sep 2013 00:00:25 +0000
(17:00 -0700)
While printing 32-bit node numbers, an 8-byte string is not enough.
Increase the size of the string to 12 chars.
This got left out in commit
49fa8140e487
("fs/ocfs2/super.c: Use bigger
nodestr to accomodate 32-bit node numbers").
Signed-off-by: Goldwyn Rodrigues <
[email protected]
>
Cc: Joel Becker <
[email protected]
>
Cc: Mark Fasheh <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/ocfs2/super.c
patch
|
blob
|
history
diff --git
a/fs/ocfs2/super.c
b/fs/ocfs2/super.c
index 121da2dc3be841e579dd64fdea6bcfb89f5c121c..d4e81e4a9b0489de2eb66899eb23b9d87ea81ae5 100644
(file)
--- a/
fs/ocfs2/super.c
+++ b/
fs/ocfs2/super.c
@@
-1924,7
+1924,7
@@
static void ocfs2_dismount_volume(struct super_block *sb, int mnt_err)
{
int tmp, hangup_needed = 0;
struct ocfs2_super *osb = NULL;
- char nodestr[
8
];
+ char nodestr[
12
];
trace_ocfs2_dismount_volume(sb);