On Mon, Jul 11, 2016 at 06:52:57PM -0700, Liu Bo wrote: > Since it is just an in-memory building of the backrefs of several > btree blocks, nothing is fatal other than memory leaks, so this > changes BUG_ON()'s to ASSERT()'s.
Agreed, this a good justification. Sometimes the BUG_ON serves as a last-resort sanity check so it's not like changing all BUG_ON to ASSERT. > Signed-off-by: Liu Bo <[email protected]> Reviewed-by: David Sterba <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
