> + BUG_ON(!locked_ref); > + BUG_ON(!btrfs_delayed_ref_is_head(&head->node)); Please don't add more BUG_ON()s. They're unreliable because they can kill the system. If you *must* have logic asserts, use WARN_ON_ONCE and return errors. If the path is so dire that the fs is inconsistent, go read only. - z -- 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
