Re: [PATCH] nvmet: drop the redundant auth check in nvmet_parse_io_cmd()
From: Keith Busch
Date: Thu Nov 05 2026 - 11:11:11 EST
On Wed, 04 Nov 2026 21:14:46 +0800, shao.mingyin@xxxxxxxxxx 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@xxxxxxxxxx>