The function call that set the ret parameter evaluated in this
BUG_ON was removed in a previous commit:
11be10f71e1af5256f221feb9e91300b3e28bbef
Btrfs-progs: make fsck fix certain file extent inconsistencies

Signed-off-by: Mitch Harder <mitch.har...@sabayonlinux.org>
---
 cmds-check.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/cmds-check.c b/cmds-check.c
index eef7c6c..ffc5d3e 100644
--- a/cmds-check.c
+++ b/cmds-check.c
@@ -4037,7 +4037,6 @@ static int run_next_block(struct btrfs_trans_handle 
*trans,
                                parent, owner, key.objectid, key.offset -
                                btrfs_file_extent_offset(buf, fi), 1, 1,
                                btrfs_file_extent_disk_num_bytes(buf, fi));
-                       BUG_ON(ret);
                }
        } else {
                int level;
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to