Repository navigation
Commit a4a8b99
committed
udf: Fix free space reporting for metadata and virtual partitions
Free space on filesystems with metadata or virtual partition maps
currently gets misreported. This is because these partitions are just
remapped onto underlying real partitions from which keep track of free
blocks. Take this remapping into account when counting free blocks as
well.
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Reported-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>1 parent 6146446 commit a4a8b99
1 file changed
Lines changed: 17 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2492 | 2492 | | |
2493 | 2493 | | |
2494 | 2494 | | |
2495 | | - | |
| 2495 | + | |
2496 | 2496 | | |
| 2497 | + | |
| 2498 | + | |
| 2499 | + | |
| 2500 | + | |
| 2501 | + | |
| 2502 | + | |
| 2503 | + | |
| 2504 | + | |
| 2505 | + | |
| 2506 | + | |
| 2507 | + | |
| 2508 | + | |
| 2509 | + | |
2497 | 2510 | | |
2498 | | - | |
2499 | 2511 | | |
2500 | 2512 | | |
2501 | 2513 | | |
2502 | 2514 | | |
2503 | | - | |
| 2515 | + | |
2504 | 2516 | | |
2505 | | - | |
| 2517 | + | |
2506 | 2518 | | |
2507 | 2519 | | |
2508 | 2520 | | |
| |||
2511 | 2523 | | |
2512 | 2524 | | |
2513 | 2525 | | |
2514 | | - | |
| 2526 | + | |
2515 | 2527 | | |
2516 | 2528 | | |
2517 | 2529 | | |
| |||
0 commit comments