staging: erofs: replace BUG_ON with DBG_BUGON in data.c
authorChen Gong <gongchen4@huawei.com>
Tue, 18 Sep 2018 14:27:28 +0000 (22:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Sep 2018 14:35:03 +0000 (16:35 +0200)
commit9141b60cf6a53c99f8a9309bf8e1c6650a6785c1
treec2520c1b48e595a7a88e0c022de9da4a862fe9d7
parent284db12cfda3a24c47b9c4b867ce4cf3dcf047a3
staging: erofs: replace BUG_ON with DBG_BUGON in data.c

This patch replace BUG_ON with DBG_BUGON in data.c, and add necessary
error handler.

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