diff options
author | Francis Pravin <[email protected]> | 2024-02-07 05:04:17 +0530 |
---|---|---|
committer | Keith Busch <[email protected]> | 2024-02-07 15:49:36 -0800 |
commit | 4054705215ad7e6dd8e4e6ff27c39abd7667f700 (patch) | |
tree | 8a9f15ce945ed04d2636f0fc0b528f299bca95b2 /lib/test_fortify/write_overflow-strncpy-src.c | |
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 <[email protected]>
Signed-off-by: Sathyavathi M <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions