Commit 8e376cb
Use argument structure for nvme_lockdown()
Use an argument structure instead of passing all arguments one by one.
This allows for a future expansion of the argument list without having
to change the library ABI.
Signed-off-by: Hannes Reinecke <[email protected]>1 parent 353d689 commit 8e376cb
2 files changed
Lines changed: 35 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1398 | 1398 | | |
1399 | 1399 | | |
1400 | 1400 | | |
1401 | | - | |
1402 | | - | |
| 1401 | + | |
1403 | 1402 | | |
1404 | | - | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
1405 | 1407 | | |
1406 | 1408 | | |
1407 | 1409 | | |
1408 | 1410 | | |
1409 | | - | |
| 1411 | + | |
| 1412 | + | |
1410 | 1413 | | |
1411 | 1414 | | |
1412 | | - | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
1413 | 1418 | | |
1414 | 1419 | | |
1415 | 1420 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3349 | 3349 | | |
3350 | 3350 | | |
3351 | 3351 | | |
3352 | | - | |
| 3352 | + | |
3353 | 3353 | | |
3354 | | - | |
3355 | | - | |
3356 | | - | |
3357 | | - | |
3358 | | - | |
| 3354 | + | |
| 3355 | + | |
| 3356 | + | |
| 3357 | + | |
| 3358 | + | |
| 3359 | + | |
| 3360 | + | |
| 3361 | + | |
| 3362 | + | |
| 3363 | + | |
| 3364 | + | |
| 3365 | + | |
| 3366 | + | |
| 3367 | + | |
| 3368 | + | |
| 3369 | + | |
| 3370 | + | |
| 3371 | + | |
| 3372 | + | |
| 3373 | + | |
| 3374 | + | |
| 3375 | + | |
| 3376 | + | |
3359 | 3377 | | |
3360 | 3378 | | |
3361 | 3379 | | |
3362 | 3380 | | |
3363 | | - | |
3364 | | - | |
| 3381 | + | |
3365 | 3382 | | |
3366 | 3383 | | |
3367 | 3384 | | |
| |||
0 commit comments