summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/lpt.c
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2018-10-13 10:18:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-13 11:05:02 +0200
commitf8ccb14fd6c9f58ef766062b7e3929c423580f09 (patch)
treec0a6860c48317aeb63cca6e54b14f0e85af3c756 /fs/ubifs/lpt.c
parent79fc170b1f5c36f486d886bfbd59eb4e62321128 (diff)
downloadlinux-f8ccb14fd6c9f58ef766062b7e3929c423580f09.tar.gz
linux-f8ccb14fd6c9f58ef766062b7e3929c423580f09.tar.bz2
linux-f8ccb14fd6c9f58ef766062b7e3929c423580f09.zip
ubifs: Fix WARN_ON logic in exit path
ubifs_assert() is not WARN_ON(), so we have to invert the checks. Randy faced this warning with UBIFS being a module, since most users use UBIFS as builtin because UBIFS is the rootfs nobody noticed so far. :-( Including me. Reported-by: Randy Dunlap <rdunlap@infradead.org> Fixes: 54169ddd382d ("ubifs: Turn two ubifs_assert() into a WARN_ON()") Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ubifs/lpt.c')
0 files changed, 0 insertions, 0 deletions