Re: [PATCH 1/3] blk-crypto: pass a gendisk to blk_crypto_sysfs_register

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

 



On Mon, Nov 07, 2022 at 11:55:24AM -0800, Eric Biggers wrote:
> >  
> > -int blk_crypto_sysfs_register(struct request_queue *q);
> > +int blk_crypto_sysfs_register(struct gendisk *disk);
> >  
> >  void blk_crypto_sysfs_unregister(struct request_queue *q);
> 
> Shouldn't blk_crypto_sysfs_unregister() be updated to match?

While not strictly required, that would keep the interface symmetric,
so yes.



[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