Re: [PATCH 02/17] btrfs: use bio_kmalloc in __alloc_device

2021-01-27 Thread Chaitanya Kulkarni
On 1/26/21 7:04 AM, Christoph Hellwig wrote: > Use bio_kmalloc instead of open coding it. > > Signed-off-by: Christoph Hellwig Looks good. Reviewed-by: Chaitanya Kulkarni

Re: [PATCH 02/17] btrfs: use bio_kmalloc in __alloc_device

2021-01-26 Thread Josef Bacik
On 1/26/21 9:52 AM, Christoph Hellwig wrote: Use bio_kmalloc instead of open coding it. Signed-off-by: Christoph Hellwig Reviewed-by: Josef Bacik yay I contributed, Josef

[PATCH 02/17] btrfs: use bio_kmalloc in __alloc_device

2021-01-26 Thread Christoph Hellwig
Use bio_kmalloc instead of open coding it. Signed-off-by: Christoph Hellwig --- fs/btrfs/volumes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 0a6de859eb2226..584ba093cf4966 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volum