Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nvme-tcp: Fix warning with CONFIG_DEBUG_PREEMPT
We shouldn't call smp_processor_id() in a preemptible context, but this is advisory at best, so instead call __smp_processor_id(). Fixes: db5ad6b ("nvme-tcp: try to send request in queue_rq context") Reported-by: Or Gerlitz <[email protected]> Reported-by: Yi Zhang <[email protected]> Signed-off-by: Sagi Grimberg <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
- Loading branch information