Re: [PATCH] target: simplify the target template registration API

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

 



On Thu, 2015-03-26 at 18:36 +0100, Christoph Hellwig wrote:
> Instead of calling target_fabric_configfs_init() +
> target_fabric_configfs_register() / target_fabric_configfs_deregister()
> target_fabric_configfs_free() from every target driver, rewrite the API
> so that we have simple register/unregister functions that operate on
> a const operations vector.
> 
> This patch also fixes a memory leak in several target drivers. Several
> target drivers namely called target_fabric_configfs_deregister()
> without calling target_fabric_configfs_free().
> 
> A large part of this patch is based on earlier changes from
> Bart Van Assche <bart.vanassche@xxxxxxxxxxx>.
> 
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Just a heads up that I've got a ~20 part series in target-rcu-wip to
convert se_node_acl->device_list[] access to RCU, along with a number of
other cleanups along with the long overdue renaming of core_tpg_* +
core_dev_* to target_* prefixes.

This patch most certainly conflicts with that series..  Any chance to
rebase this against target-rcu-wip..?

--nab

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




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux