Skip to content
Commit 9570a488 authored by Boyang Yu's avatar Boyang Yu Committed by Keith Busch
Browse files

nvme: fix NVME_NS_DEAC may incorrectly identifying the disk as EXT_LBA.

The value of NVME_NS_DEAC is 3,
which means NVME_NS_METADATA_SUPPORTED | NVME_NS_EXT_LBAS. Provide a
unique value for this feature flag.

Fixes 1b96f862

 ("nvme: implement the DEAC bit for the Write Zeroes command")
Signed-off-by: default avatarBoyang Yu <yuboyang@dapustor.com>
Reviewed-by: default avatarKanchan Joshi <joshi.k@samsung.com>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent 5f75e081
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment