aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2021-10-28 18:08:34 +0000
committerJens Axboe <[email protected]>2021-10-28 18:08:34 +0000
commit02f7eab0095a47b45f48a4321d33de3569c59061 (patch)
treea482434eb91daec509d893937b89b982fbd2ba90 /fs/btrfs/dev-replace.c
parentvirtio-blk: Use blk_validate_block_size() to validate block size (diff)
downloadkernel-02f7eab0095a47b45f48a4321d33de3569c59061.tar.gz
kernel-02f7eab0095a47b45f48a4321d33de3569c59061.zip
block: improve readability of blk_mq_end_request_batch()
It's faster and easier to read if we tolerate cur_hctx being NULL in the "when to flush" condition. Rename last_hctx to cur_hctx while at it, as it better describes the role of that variable. Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions