]> git.baikalelectronics.ru Git - kernel.git/commit
filldir[64]: remove WARN_ON_ONCE() for bad directory entries
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 18 Oct 2019 22:41:16 +0000 (18:41 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 18 Oct 2019 22:41:16 +0000 (18:41 -0400)
commitca5de40757847e7dc81562c9c16c0c8c222bfbfc
treea382f5d51b824f852d310df0a254983783397462
parentc0976d08c16f454512e929cbe98b3874d86b9e1f
filldir[64]: remove WARN_ON_ONCE() for bad directory entries

This was always meant to be a temporary thing, just for testing and to
see if it actually ever triggered.

The only thing that reported it was syzbot doing disk image fuzzing, and
then that warning is expected.  So let's just remove it before -rc4,
because the extra sanity testing should probably go to -stable, but we
don't want the warning to do so.

Reported-by: syzbot+3031f712c7ad5dd4d926@syzkaller.appspotmail.com
Fixes: 2ec5a2ba96d1 ("Make filldir[64]() verify the directory entry filename is valid")
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/readdir.c