linux/drivers/infiniband/ulp
Christoph Hellwig 9ac8928e6a target: simplify the target template registration API
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@sandisk.com>.

(v2: Add a new TF_CIT_SETUP_DRV macro so that the core configfs code
can declare attributes as either core only or for drivers)

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2015-04-14 12:28:41 -07:00
..
ipoib Revert "IPoIB: Consolidate rtnl_lock tasks in workqueue" 2015-01-30 15:39:36 -08:00
iser IB/iser: Release the iscsi endpoint if ep_disconnect wasn't called 2015-02-17 12:33:14 -08:00
isert iser-target: Bump version to 1.0 2015-04-07 23:27:57 -07:00
srp SCSI for-linus on 20141220 2014-12-20 13:42:57 -08:00
srpt target: simplify the target template registration API 2015-04-14 12:28:41 -07:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00