staging: erofs: unzip_{pagevec.h,vle.c}: rectify BUG_ONs
authorGao Xiang <gaoxiang25@huawei.com>
Tue, 11 Dec 2018 07:17:49 +0000 (15:17 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Feb 2019 09:09:02 +0000 (10:09 +0100)
commit9a6a676e16eb899582022690856828ca926dd804
treed2fb1db3de37f4e2f464b0c52a793fed0be36f17
parentbea01ea032a61906a0739b474344f27ca79fe524
staging: erofs: unzip_{pagevec.h,vle.c}: rectify BUG_ONs

commit 70b17991d89554cdd16f3e4fb0179bcc03c808d9 upstream.

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

Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/unzip_pagevec.h
drivers/staging/erofs/unzip_vle.c