Re: [PATCH 4/8] target: simplify hba allocation and freeing

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

 



On Tue, 2010-11-23 at 17:30 -0500, Christoph Hellwig wrote:
> plain text document attachment (lio-simplify-core_alloc_hba)
> Merge se_core_add_hba into core_alloc_hba to simplify life for the
> callers.  To make this happen it gains a new hba_flags variable.
> Also simplify se_core_del_hba and rename it to core_delete_hba to
> match the allocation function.
> 
> The allocation simplification also allows to remove the hba_flags
> field in struct se_hba as we will not never expose half-initialized
> hba structure.
> 
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> 

A nice cleanup for the HBA allocation/release.  Committed as
120a7d1e484.  Thanks!

--nab


--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux