summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Harder <mitch.harder@sabayonlinux.org>2014-02-11 07:00:12 -0600
committerChris Mason <clm@fb.com>2014-03-21 06:23:14 -0700
commit26b2f58d78e4fca92abbf7869f94d0938606d650 (patch)
tree3e14da69da2a243a49c6a031023a069614382714
parent93f4f126ecee53533d798949e96033f6f850c027 (diff)
btrfs-progs: Remove superfluous BUG_ON check.
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.harder@sabayonlinux.org> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>
-rw-r--r--cmds-check.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmds-check.c b/cmds-check.c
index eef7c6cc..ffc5d3ee 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;