projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
647dd2c
)
erofs: get rid of a useless DBG_BUGON
author
Gao Xiang
<hsiangkao@linux.alibaba.com>
Thu, 9 Mar 2023 05:31:48 +0000
(13:31 +0800)
committer
Gao Xiang
<hsiangkao@linux.alibaba.com>
Thu, 9 Mar 2023 15:36:01 +0000
(23:36 +0800)
`err` could be -EINTR and it should not be the case. Actually such
DBG_BUGON is useless.
Reviewed-by: Chao Yu <chao@kernel.org>
Link:
https://lore.kernel.org/r/20230309053148.9223-2-hsiangkao@linux.alibaba.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/zmap.c
patch
|
blob
|
history
diff --git
a/fs/erofs/zmap.c
b/fs/erofs/zmap.c
index
8bf6d30
..
655da4d
100644
(file)
--- a/
fs/erofs/zmap.c
+++ b/
fs/erofs/zmap.c
@@
-757,9
+757,6
@@
int z_erofs_map_blocks_iter(struct inode *inode, struct erofs_map_blocks *map,
err = z_erofs_do_map_blocks(inode, map, flags);
out:
trace_z_erofs_map_blocks_iter_exit(inode, map, flags, err);
-
- /* aggressively BUG_ON iff CONFIG_EROFS_FS_DEBUG is on */
- DBG_BUGON(err < 0 && err != -ENOMEM);
return err;
}