[PATCH] nvmet: drop the redundant auth check in nvmet_parse_io_cmd()

Keith Busch kbusch at kernel.org
Thu Nov 5 07:11:31 PST 2026


On Wed, 04 Nov 2026 21:14:46 +0800, shao.mingyin at zte.com.cn wrote:
> nvmet_parse_io_cmd() calls nvmet_check_auth_status() and then
> nvmet_check_ctrl_status(), which performs the same check again.  The
> first call cannot fail either: this path only handles commands from I/O
> queues, and nvmet_check_auth_status() returns true unconditionally for
> qid > 0.  Drop the duplicate.
> 
> No functional change.
> 
> [...]

Applied, thanks!

[1/1] nvmet: drop the redundant auth check in nvmet_parse_io_cmd()
      commit: f96d1722e5861375c47c315117d900ef103ab331

Best regards,
-- 
Keith Busch <kbusch at kernel.org>




More information about the Linux-nvme mailing list