Re: [PATCH v2 2/4] block: null_blk: Cleanup device creation and deletion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/19/22 17:57, Damien Le Moal wrote:
> Introduce the null_create_dev() and null_destroy_dev() helper functions
> to respectivel create nullb devices on modprobe and destroy them on
> rmmod. The null_destroy_dev() helper avoids duplicated code in the
> null_init() and null_exit() functions for deleting devices.
> 
> Signed-off-by: Damien Le Moal <damien.lemoal@xxxxxxxxxxxxxxxxxx>
> ---

nice cleanup...

Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx>

-ck






[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux