commit | 4054705215ad7e6dd8e4e6ff27c39abd7667f700 | [log] [tgz] |
---|---|---|
author | Francis Pravin <francis.p@samsung.com> | Wed Feb 07 05:04:17 2024 +0530 |
committer | Keith Busch <kbusch@kernel.org> | Wed Feb 07 15:49:36 2024 -0800 |
tree | 8a9f15ce945ed04d2636f0fc0b528f299bca95b2 | |
parent | e8c263ed6de8183e670fbd127c2512292a2ad8eb [diff] |
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: Francis Pravin <francis.p@samsung.com> Signed-off-by: Sathyavathi M <sathya.m@samsung.com> Signed-off-by: Keith Busch <kbusch@kernel.org>