Commit 353d689
Use argument structure for nvme_capacity_mgmt()
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 7459192 commit 353d689
2 files changed
Lines changed: 25 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1381 | 1381 | | |
1382 | 1382 | | |
1383 | 1383 | | |
1384 | | - | |
1385 | | - | |
1386 | | - | |
| 1384 | + | |
1387 | 1385 | | |
1388 | | - | |
| 1386 | + | |
1389 | 1387 | | |
1390 | 1388 | | |
1391 | 1389 | | |
1392 | | - | |
1393 | | - | |
1394 | | - | |
1395 | | - | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
1396 | 1394 | | |
1397 | 1395 | | |
1398 | | - | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
1399 | 1399 | | |
1400 | 1400 | | |
1401 | 1401 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3327 | 3327 | | |
3328 | 3328 | | |
3329 | 3329 | | |
| 3330 | + | |
| 3331 | + | |
| 3332 | + | |
| 3333 | + | |
| 3334 | + | |
| 3335 | + | |
| 3336 | + | |
| 3337 | + | |
| 3338 | + | |
| 3339 | + | |
| 3340 | + | |
| 3341 | + | |
| 3342 | + | |
| 3343 | + | |
| 3344 | + | |
3330 | 3345 | | |
3331 | 3346 | | |
3332 | 3347 | | |
3333 | 3348 | | |
3334 | | - | |
3335 | | - | |
3336 | | - | |
| 3349 | + | |
3337 | 3350 | | |
3338 | 3351 | | |
3339 | 3352 | | |
| |||
0 commit comments