BTRFS_REF_TYPE_INVALID
if (unlikely(type == BTRFS_REF_TYPE_INVALID))
if (unlikely(*out_type == BTRFS_REF_TYPE_INVALID))
if (unlikely(type == BTRFS_REF_TYPE_INVALID)) {
if (unlikely(type == BTRFS_REF_TYPE_INVALID))
return BTRFS_REF_TYPE_INVALID;
ASSERT(type != BTRFS_REF_TYPE_INVALID);
if (unlikely(type == BTRFS_REF_TYPE_INVALID)) {
if (type == BTRFS_REF_TYPE_INVALID)