diff options
author | Christoph Hellwig <hch@lst.de> | 2021-01-26 15:52:32 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-01-27 09:51:48 -0700 |
commit | 616c6a6884e273349cda19483dfd7f5b7fd3da52 (patch) | |
tree | 71620682fda2b2975f5f632c3f106bc1fc2b1d21 /fs/btrfs/delalloc-space.h | |
parent | f91ca2a370bec58eb3d54315b5cfa3a2a9288acc (diff) | |
download | linux-616c6a6884e273349cda19483dfd7f5b7fd3da52.tar.gz linux-616c6a6884e273349cda19483dfd7f5b7fd3da52.tar.bz2 linux-616c6a6884e273349cda19483dfd7f5b7fd3da52.zip |
btrfs: use bio_kmalloc in __alloc_device
Use bio_kmalloc instead of open coding it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Acked-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/btrfs/delalloc-space.h')
0 files changed, 0 insertions, 0 deletions