]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
reiserfs: fix __RASSERT format string
authorNicolas Iooss <nicolas.iooss_linux@m4x.org>
Tue, 17 Mar 2015 15:15:35 +0000 (16:15 +0100)
committerJan Kara <jack@suse.cz>
Tue, 17 Mar 2015 15:15:35 +0000 (16:15 +0100)
commit5ce1aca814354c5942cdb5604e142a49be7033eb
treee9931adea4fc3d1e967922733b16a383c80ffb5e
parent7dca0548a21e5efa445b68a73554ef863e09c623
reiserfs: fix __RASSERT format string

__RASSERT format string does not use the PID argument.  reiserfs_panic
arguments are therefore formatted with the wrong format specifier (for
example __LINE__ with %s).  This bug was introduced when commit
c3a9c2109f84 ("reiserfs: rework reiserfs_panic") removed a
"reiserfs[%i]" prefix.

This bug is only triggered when using CONFIG_REISERFS_CHECK, otherwise
__RASSERT is never used.

Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Acked-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/reiserfs/reiserfs.h