Commit eb9148b
committed
Remove blocks from free list when extending an LV
Before this patch, the LvExpand operation was removing blocks from the free
list and giving them to the LV but the following LvCrop operation was then
adding these blocks back into the free list leading to duplicate allocations.
Signed-off-by: Si Beaumont <[email protected]>1 parent a259705 commit eb9148b
1 file changed
+4
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
390 | 386 | | |
391 | 387 | | |
392 | 388 | | |
| |||
0 commit comments