linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] btrfs-progs: Remove superfluous BUG_ON check.
@ 2014-02-11 13:00 Mitch Harder
  0 siblings, 0 replies; only message in thread
From: Mitch Harder @ 2014-02-11 13:00 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Mitch Harder

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>
---
 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-02-11 13:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-11 13:00 [PATCH] btrfs-progs: Remove superfluous BUG_ON check Mitch Harder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).