From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/nvme/target/core.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/kernel/drivers/nvme/target/core.c b/kernel/drivers/nvme/target/core.c
index fa04d97..6f17a34 100644
--- a/kernel/drivers/nvme/target/core.c
+++ b/kernel/drivers/nvme/target/core.c
@@ -749,8 +749,10 @@
void nvmet_req_complete(struct nvmet_req *req, u16 status)
{
+ struct nvmet_sq *sq = req->sq;
+
__nvmet_req_complete(req, status);
- percpu_ref_put(&req->sq->ref);
+ percpu_ref_put(&sq->ref);
}
EXPORT_SYMBOL_GPL(nvmet_req_complete);
--
Gitblit v1.6.2