summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent_io.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-06-27 09:13:24 +0300
committerDavid Sterba <dsterba@suse.com>2023-08-21 15:52:13 +0300
commitb2cc440058baf3f4783a687a2caa35b31a1da553 (patch)
tree3325b435d2aa3b6d2c6725040482159e6f376340 /fs/btrfs/extent_io.c
parent17353a3447927455b8242aa371488b7af01c5e14 (diff)
downloadlinux-b2cc440058baf3f4783a687a2caa35b31a1da553.tar.xz
btrfs: simplify the no-bioc fast path condition in btrfs_map_block
nr_alloc_stripes can't be one if we are writing to a replacement device, as it is incremented for that case right above. Remove the duplicate checks. Reviewed-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_io.c')
0 files changed, 0 insertions, 0 deletions