Skip to content
Commit 40547052 authored by Francis Pravin's avatar Francis Pravin Committed by Keith Busch
Browse files

nvme: use ns->head->pi_size instead of t10_pi_tuple structure size



Currently kernel supports 8 byte and 16 byte protection information.
So, use ns->head->pi_size instead of sizeof(struct t10_pi_tuple).

Signed-off-by: default avatarFrancis Pravin <francis.p@samsung.com>
Signed-off-by: default avatarSathyavathi M <sathya.m@samsung.com>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent e8c263ed
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