On 02/27/15 22:58, Nicholas A. Bellinger wrote: > Looking at how your attempting to drive creation + removal of struct > config_group from within kernel code here: > > target: Add target port registration API > https://github.com/bvanassche/linux/commit/dbb8bf32db3428ede6ecc688ede1e5e01fc59d88 > > is the exactly the wrong approach to take. > > The creation and deletion of struct config_group must be driven by > user-space, and by user-space only. No exceptions will be made. There exists an approach that preserves the ABI of both SCST and LIO, namely: * Add empty transport_register_wwn() and transport_unregister_wwn() functions in the LIO core. * Add calls to these functions at the appropriate place in the FC and SRP target drivers. * In the SCST implementation of the unified target driver API, route calls to transport_register_wwn() and transport_unregister_wwn() to scst_register_target() and scst_unregister_target() respectively. Bart. -- 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