mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
NVMe: Mark CMD_CTX_CANCELLED as being unlikely
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
This commit is contained in:
parent
7547881d09
commit
c42705592b
1 changed files with 1 additions and 1 deletions
|
@ -518,7 +518,7 @@ static void sync_completion(struct nvme_queue *nvmeq, void *ctx,
|
|||
struct nvme_completion *cqe)
|
||||
{
|
||||
struct sync_cmd_info *cmdinfo = ctx;
|
||||
if ((unsigned long)cmdinfo == CMD_CTX_CANCELLED)
|
||||
if (unlikely((unsigned long)cmdinfo == CMD_CTX_CANCELLED))
|
||||
return;
|
||||
if (unlikely((unsigned long)cmdinfo == CMD_CTX_COMPLETED)) {
|
||||
dev_warn(nvmeq->q_dmadev,
|
||||
|
|
Loading…
Reference in a new issue