Artem Bityutskiy 65b455b123 UBIFS: fix complaints about too small debug buffer size
When debugging is enabled, we use a temporary on-stack buffer for formatting
the key strings like "(11368871, direntry, 0xcd0750)". The buffer size is
32 bytes and sometimes it is not enough to fit the key string - e.g., when
inode numbers are high. This is not fatal, but the key strings are incomplete
and UBIFS complains like this:

	UBIFS assert failed in dbg_snprintf_key at 137 (pid 1)

This is a regression caused by "515315a UBIFS: fix key printing".

Fix the issue by increasing the buffer to 48 bytes.

Reported-by: Michael Hench <michaelhench@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tested-by: Michael Hench <michaelhench@gmail.com>
Cc: stable@vger.kernel.org [v3.3+]
2012-08-22 11:51:33 +03:00
..
2012-05-16 20:11:23 +03:00
2008-12-31 14:13:24 +02:00
2012-08-04 12:15:41 +04:00
2012-06-18 14:17:08 +03:00
2012-05-20 20:25:59 +03:00
2012-05-20 20:25:59 +03:00
2012-01-03 22:52:40 -05:00
2012-05-20 20:25:59 +03:00
2012-05-16 19:53:46 +03:00
2012-05-20 20:25:59 +03:00
2012-05-20 20:25:59 +03:00
2012-08-21 15:25:24 +03:00
2012-05-20 20:25:59 +03:00
2011-07-04 10:54:33 +03:00
2012-05-20 20:25:59 +03:00
2012-08-21 15:25:25 +03:00
2012-07-20 10:13:27 +03:00
2012-05-16 20:11:23 +03:00
2012-08-21 15:25:24 +03:00
2012-05-20 20:25:59 +03:00
2012-05-16 20:11:23 +03:00
2012-05-22 19:30:27 -07:00
2012-05-20 20:25:59 +03:00
2012-05-22 19:30:27 -07:00