diff options
| author | Johannes Thumshirn <[email protected]> | 2023-05-31 11:50:39 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-06-01 15:13:31 +0000 |
| commit | 2c550517bc7e44c8d1151deb08f5b2b2cf63cf6c (patch) | |
| tree | a272d2bb89fbf4ed926fa0353fe1cbbf6e6ac72c /fs/btrfs/dev-replace.c | |
| parent | md: raid1: check if adding pages to resync bio fails (diff) | |
| download | kernel-2c550517bc7e44c8d1151deb08f5b2b2cf63cf6c.tar.gz kernel-2c550517bc7e44c8d1151deb08f5b2b2cf63cf6c.zip | |
dm-crypt: use __bio_add_page to add single page to clone bio
crypt_alloc_buffer() already allocates enough entries in the clone bio's
vector, so adding a page to the bio can't fail. Use __bio_add_page() to
reflect this.
Signed-off-by: Johannes Thumshirn <[email protected]>
Link: https://lore.kernel.org/r/f9a4dee5e81389fd70ffc442da01006538e55aca.1685532726.git.johannes.thumshirn@wdc.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
