Messages in this thread | | | Date | Thu, 14 Oct 2010 11:26:01 +0200 | From | Christoph Hellwig <> | Subject | Re: [PATCH 2/5] tcm: Unify INQUIRY subsystem plugin handling |
| |
On Wed, Oct 13, 2010 at 09:35:37PM -0700, Nicholas A. Bellinger wrote: > So you would rather have struct se_device attributes set in TCM > subsystem specific ->create_virtdevice() code directly after > transport_add_device_to_core_hba() -> se_dev_set_default_attribs(), > right..?
Actually you would want to set them before transport_add_device_to_core_hba. Always make sure an object is fully set up before making it accessible.
| |