Repository navigation
Commit d409905
committed
nilfs2: fix missing block address termination in btree node shrinking
nilfs_btree_delete function does not terminate part of virtual block
addresses when shrinking the last remaining child node into the root
node. The missing address termination causes that dead btree node
blocks persist and chip away free disk space.
This fixes the leak bug on the btree node deletion.
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>1 parent fe744fd commit d409905
1 file changed
Lines changed: 14 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1346 | 1346 | | |
1347 | 1347 | | |
1348 | 1348 | | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
1349 | 1354 | | |
1350 | 1355 | | |
1351 | 1356 | | |
| |||
1439 | 1444 | | |
1440 | 1445 | | |
1441 | 1446 | | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
1442 | 1450 | | |
1443 | 1451 | | |
1444 | 1452 | | |
| 1453 | + | |
1445 | 1454 | | |
1446 | | - | |
1447 | | - | |
1448 | | - | |
1449 | 1455 | | |
1450 | 1456 | | |
1451 | 1457 | | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
1452 | 1463 | | |
1453 | 1464 | | |
1454 | 1465 | | |
| |||
1458 | 1469 | | |
1459 | 1470 | | |
1460 | 1471 | | |
1461 | | - | |
1462 | | - | |
1463 | | - | |
1464 | | - | |
1465 | 1472 | | |
1466 | 1473 | | |
1467 | 1474 | | |
| |||
0 commit comments