Re: [PATCH V2 3/7] null_blk: initialize cmd->bio in __alloc_cmd()

From: Bart Van Assche
Date: Mon Nov 14 2022 - 19:40:08 EST


On 10/5/22 20:18, Chaitanya Kulkarni wrote:
The function __alloc_cmd() is responsible to allocate tag and
initializae the different members of the null_cmd structure e.g.

initializae -> initialize?

cmd->tag, cmd->error, and cmd->nq, Move only member bio that is initialized
from alloc_cmd() into __alloc_cmd().

Thanks,

Bart.