]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2c2462f14251f121f372fb6ec958716395e7d79f
treeda55921bb2598992c29f383e53a05c8ac5d2217e
parentfa715e299d2299fa1e0c203755f242b3601d27da
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