Re: [PATCH 2/2] block/sed-opal: allocate struct opal_dev dynamically

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

 



On Thu, Feb 16, 2017 at 09:10:53PM +0100, Christoph Hellwig wrote:
> Insted of bloating the containing structure with it all the time this
> allocates struct opal_dev dynamically.  Additionally this allows moving
> the definition of struct opal_dev into sed-opal.c.  For this a new
> private data field is added to it that is passed to the send/receive
> callback.  After that a lot of internals can be made private as well.
> 
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Don't know if we need both but:

Tested-by: Scott Bauer <scott.bauer@xxxxxxxxx>
Reviewed-by: Scott Bauer <scott.bauer@xxxxxxxxx>



[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