On 1/22/21 1:21 AM, Naohiro Aota wrote:
From: Johannes Thumshirn <[email protected]>

A following patch will add another caller of
btrfs_lookup_ordered_extent() from a bio endio context.

btrfs_lookup_ordered_extent() uses spin_lock_irq() which unconditionally
disables interrupts. Change this to spin_lock_irqsave() so interrupts
aren't disabled and re-enabled unconditionally.

Signed-off-by: Johannes Thumshirn <[email protected]>

Reviewed-by: Josef Bacik <[email protected]>

Thanks,

Josef

Reply via email to