On Tue, Feb 09, 2016 at 07:03:52AM -0800, Bart Van Assche wrote: > On 02/09/16 05:15, Christoph Hellwig wrote: >>> - .node_acl_size = sizeof(struct srpt_node_acl), >>> + .node_acl_size = sizeof(struct se_node_acl), >> >> just drop this line entirely, the core code will do the right thing. > > Hello Christoph, > > Can you show me the code in the LIO core that handles not specifying > .node_acl_size ? I have tried to find it but haven't found it yet. static struct se_node_acl *target_alloc_node_acl(struct se_portal_group *tpg, const unsigned char *initiatorname) { struct se_node_acl *acl; u32 queue_depth; acl = kzalloc(max(sizeof(*acl), tpg->se_tpg_tfo->node_acl_size), GFP_KERNEL); -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html