Repository navigation
Commit cddae80
block: pass a hd_struct to delete_partition
All callers have the hd_struct at hand, so pass it instead of performing
another lookup.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent fa9156a commit cddae80
3 files changed
Lines changed: 10 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
897 | 897 | | |
898 | 898 | | |
899 | 899 | | |
900 | | - | |
| 900 | + | |
901 | 901 | | |
902 | 902 | | |
903 | 903 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | 303 | | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
| 304 | + | |
313 | 305 | | |
314 | 306 | | |
315 | 307 | | |
| |||
520 | 512 | | |
521 | 513 | | |
522 | 514 | | |
| 515 | + | |
523 | 516 | | |
524 | | - | |
525 | 517 | | |
526 | | - | |
| 518 | + | |
527 | 519 | | |
528 | 520 | | |
529 | 521 | | |
| |||
535 | 527 | | |
536 | 528 | | |
537 | 529 | | |
538 | | - | |
| 530 | + | |
539 | 531 | | |
540 | 532 | | |
541 | 533 | | |
542 | 534 | | |
543 | 535 | | |
544 | 536 | | |
| 537 | + | |
| 538 | + | |
545 | 539 | | |
546 | 540 | | |
547 | 541 | | |
| |||
617 | 611 | | |
618 | 612 | | |
619 | 613 | | |
620 | | - | |
| 614 | + | |
621 | 615 | | |
622 | 616 | | |
623 | 617 | | |
| |||
0 commit comments