Andrew Morton 9ad553abe6 fs/reiserfs/journal.c: add missing resierfs_warning() arg
One use of the reiserfs_warning() macro in journal_init_dev() is missing
a parameter, causing the following warning:

  REISERFS warning (device loop0): journal_init_dev: Cannot open '%s': %i journal_init_dev:

This also causes a WARN_ONCE() warning in the vsprintf code, and then a
panic if panic_on_warn is set.

  Please remove unsupported %/ in format string
  WARNING: CPU: 1 PID: 4480 at lib/vsprintf.c:2138 format_decode+0x77f/0x830 lib/vsprintf.c:2138
  Kernel panic - not syncing: panic_on_warn set ...

Just add another string argument to the macro invocation.

Addresses https://syzkaller.appspot.com/bug?id=0627d4551fdc39bf1ef5d82cd9eef587047f7718

Link: http://lkml.kernel.org/r/d678ebe1-6f54-8090-df4c-b9affad62293@infradead.org
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: <syzbot+6bd77b88c1977c03f584@syzkaller.appspotmail.com>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Jeff Mahoney <jeffm@suse.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Jan Kara <jack@suse.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-04-11 10:28:36 -07:00
..
2018-04-07 09:08:24 -07:00
2018-04-11 10:28:36 -07:00
2018-04-04 13:03:38 -07:00
2018-04-07 09:08:24 -07:00
2018-04-07 09:08:24 -07:00
2018-03-14 13:31:23 +01:00
2018-04-10 10:25:57 -07:00
2018-04-10 10:25:57 -07:00
2018-03-27 13:18:09 -04:00
2018-04-07 09:08:24 -07:00
2018-04-03 16:27:08 -04:00
2018-02-06 18:32:45 -08:00
2018-04-09 12:45:47 -07:00
2018-03-07 11:47:15 +01:00
2018-04-11 10:28:34 -07:00
2018-02-07 14:25:22 -08:00
2018-04-10 10:25:57 -07:00
2017-09-04 19:05:15 -04:00
2018-02-06 18:32:45 -08:00
2018-04-10 10:25:57 -07:00
2017-12-07 14:23:30 -05:00
2018-03-28 01:39:02 -04:00
2018-01-29 07:27:24 -08:00
2018-02-06 10:41:33 -08:00
2018-02-15 15:34:42 -05:00
2018-04-04 12:44:02 -07:00