aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>2021-02-04 19:22:04 +0900
committerDavid Sterba <dsterba@suse.com>2021-02-09 02:46:06 +0100
commit24533f6a9ad633d6ff0332844fadafb9ecf4a917 (patch)
treed15f089c186672a3f6d7191fd1bfa2794d5758a2 /fs/btrfs/dev-replace.c
parentbtrfs: zoned: cache if block group is on a sequential zone (diff)
downloadwireguard-linux-24533f6a9ad633d6ff0332844fadafb9ecf4a917.tar.xz
wireguard-linux-24533f6a9ad633d6ff0332844fadafb9ecf4a917.zip
btrfs: save irq flags when looking up an ordered extent
A following patch will add another caller of btrfs_lookup_ordered_extent(), but from a bio's 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. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions