diff options
| author | Francis Pravin <[email protected]> | 2024-02-06 23:34:17 +0000 |
|---|---|---|
| committer | Keith Busch <[email protected]> | 2024-02-07 23:49:36 +0000 |
| commit | 4054705215ad7e6dd8e4e6ff27c39abd7667f700 (patch) | |
| tree | 8a9f15ce945ed04d2636f0fc0b528f299bca95b2 /scripts/generate_rust_target.rs | |
| parent | nvme-core: fix comment to reflect right functions (diff) | |
| download | kernel-4054705215ad7e6dd8e4e6ff27c39abd7667f700.tar.gz kernel-4054705215ad7e6dd8e4e6ff27c39abd7667f700.zip | |
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 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
