]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme: do not include meta data for PRACT=1 and MD=8 (version 2)
authorBean Li <libin@dapustor.com>
Mon, 5 Feb 2024 11:17:54 +0000 (19:17 +0800)
committerDaniel Wagner <wagi@monom.org>
Tue, 6 Feb 2024 08:05:18 +0000 (09:05 +0100)
commitf1fde3f82874a8bc82f06a8ba128f9bcbd2f534b
treec5332c2f0d302c5522ccb99516a2da8dd605da8a
parent452670849cfb1b9fa25ecc2e3c401606fa10c0b1
nvme: do not include meta data for PRACT=1 and MD=8 (version 2)

No meta data is transferred for PRACT=1 and MD=8:
  5.2.2.1 Protection Information and Write Commands
  5.2.2.2 Protection Informatio and Read Commands

commit 8dcac74470ec (nvme: do not include meta data for PRACT=1 and MD=8)
the condition in if sentence is wrong, mixed up pract with prinfo.

Signed-off-by: Bean Li <libin@dapustor.com>
nvme.c