staging: erofs: {dir,inode,super}.c: rectify BUG_ONs
authorGao Xiang <gaoxiang25@huawei.com>
Wed, 5 Dec 2018 13:23:13 +0000 (21:23 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Feb 2019 09:09:02 +0000 (10:09 +0100)
commitbea01ea032a61906a0739b474344f27ca79fe524
treebaef2d3d2878fc02edadea81cb7158f97a3b8798
parent60ce4b5297971e089a69e103c606d83eb52a8f1e
staging: erofs: {dir,inode,super}.c: rectify BUG_ONs

commit 8b987bca2d09649683cbe496419a011df8c08493 upstream.

remove all redundant BUG_ONs, and turn the rest
useful usages to DBG_BUGONs.

Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/dir.c
drivers/staging/erofs/inode.c
drivers/staging/erofs/super.c