Re: [PATCH 1/4] um: ubd: Initialize ubd's disk pointer in ubd_add

2024-11-04 Thread Anton Ivanov
On 04/11/2024 16:32, Tiwei Bie wrote: Currently, the initialization of the disk pointer in the ubd structure is missing. It should be initialized with the allocated gendisk pointer in ubd_add(). Fixes: 32621ad7a7ea ("ubd: remove the ubd_gendisk array") Signed-off-by: Tiwei Bie --- arch/um/

[PATCH 1/4] um: ubd: Initialize ubd's disk pointer in ubd_add

2024-11-04 Thread Tiwei Bie
Currently, the initialization of the disk pointer in the ubd structure is missing. It should be initialized with the allocated gendisk pointer in ubd_add(). Fixes: 32621ad7a7ea ("ubd: remove the ubd_gendisk array") Signed-off-by: Tiwei Bie --- arch/um/drivers/ubd_kern.c | 2 ++ 1 file changed, 2