[PATCH] btrfs-progs: Remove superfluous BUG_ON check.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx>
---
 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux