ubifs: Turn two ubifs_assert() into a WARN_ON()
authorRichard Weinberger <richard@nod.at>
Thu, 12 Jul 2018 11:01:56 +0000 (13:01 +0200)
committerRichard Weinberger <richard@nod.at>
Tue, 14 Aug 2018 22:25:21 +0000 (00:25 +0200)
commit54169ddd382d461f7c01cc5a5182a4b4bc539489
treeda55921bb2598992c29f383e53a05c8ac5d2217e
parentc355aa465fce5b446789348a2c50c3eb58ee6756
ubifs: Turn two ubifs_assert() into a WARN_ON()

We are going to pass struct ubifs_info to ubifs_assert()
but while unloading the UBIFS module we don't have the info
struct anymore.
Therefore replace the asserts by a regular WARN_ON().

Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/super.c