]> git.itanic.dy.fi Git - linux-stable/commit
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>
Wed, 27 Feb 2019 09:09:01 +0000 (10:09 +0100)
commiteb5913dfa5c103175cd1efe836f9c347e23b3232
treea0ebe54af2783668c6925b5d3730fbebd74c0876
parent34ac4c14f5d599ff760d848e90664a3d42812143
staging: erofs: replace BUG_ON with DBG_BUGON in data.c

commit 9141b60cf6a53c99f8a9309bf8e1c6650a6785c1 upstream.

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