Skip to content
Commit e7ba4668 authored by Boyang Yu's avatar Boyang Yu Committed by Greg Kroah-Hartman
Browse files

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



[ Upstream commit 9570a488 ]

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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 21cb9c4f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment