diff options
author | Gao Xiang <gaoxiang25@huawei.com> | 2019-08-13 10:30:54 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-14 12:50:57 +0200 |
commit | 9ddc7004f6aae68d8c3eee81b4b2a734d25c92e1 (patch) | |
tree | 025e3d07292900ffa5033c7e759c455f753355bd /security | |
parent | 753a3c80b6afe55012ab49b076d30bfaf0266c46 (diff) |
staging: erofs: xattr.c: avoid BUG_ON
Kill all the remaining BUG_ON in EROFS:
- one BUG_ON was used to detect xattr on-disk corruption,
proper error handling should be added for it instead;
- the other BUG_ONs are used to detect potential issues,
use DBG_BUGON only in (eng) debugging version.
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Link: https://lore.kernel.org/r/20190813023054.73126-3-gaoxiang25@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions