android_kernel_google_msm/fs/ubifs
Artem Bityutskiy 4c795fe18a UBIFS: fix complaints about too small debug buffer size
commit 65b455b123 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-09-14 10:00:17 -07:00
..
budget.c
commit.c
compress.c
debug.c UBIFS: make the dbg_lock spinlock static 2012-02-29 16:10:20 +02:00
debug.h UBIFS: fix complaints about too small debug buffer size 2012-09-14 10:00:17 -07:00
dir.c UBIFS: do not use inc_link when i_nlink is zero 2012-02-29 16:10:20 +02:00
file.c ubifs: remove the second argument of k[un]map_atomic() 2012-03-20 21:48:26 +08:00
find.c
gc.c
io.c
ioctl.c
journal.c UBIFS: fix key printing 2012-01-13 12:50:42 +02:00
Kconfig
key.h
log.c
lprops.c
lpt.c
lpt_commit.c
Makefile
master.c
misc.h
orphan.c
recovery.c UBIFS: amend recovery debugging message 2012-02-29 16:10:20 +02:00
replay.c UBIFS: fix key printing 2012-01-13 12:50:42 +02:00
sb.c UBIFS: fix a bug in empty space fix-up 2012-07-29 08:04:20 -07:00
scan.c
shrinker.c
super.c switch open-coded instances of d_make_root() to new helper 2012-03-20 21:29:35 -04:00
tnc.c Merge branch 'linux-next' of git://git.infradead.org/ubifs-2.6 2012-01-13 10:31:33 -08:00
tnc_commit.c
tnc_misc.c UBIFS: fix key printing 2012-01-13 12:50:42 +02:00
ubifs-media.h
ubifs.h UBIFS: kill CUR_MAX_KEY_LEN macro 2012-02-29 18:43:01 +02:00
xattr.c