Skip to contentSkip to conversation

EXPORT_SYMBOL(scsi_use_blk_mq);

DISCUSSION Douglas Gilbert 2 participants 2 messages Apr 17, 2016 SCSI

lore
Share & tools
lore
#0 lore raw

Is there a good reason why 'bool scsi_use_blk_mq' declared as extern in scsi_hosts.h is not an exported symbol?

That would allow a LLD loaded as a module to access it.

Doug Gilbert

#1 lore raw
Quoted 2 lines · Douglas Gilbert

Is there a good reason why 'bool scsi_use_blk_mq' declared as extern in scsi_hosts.h is not an exported symbol?

Yes, no module has any business looking at the symbol.