Repository navigation
Commit 14927d9
Btrfs: insert orphan roots into fs radix tree
Now we don't drop all the deleted snapshots/subvolumes before the space
balance. It means we have to relocate the space which is held by the dead
snapshots/subvolumes. So we must into them into fs radix tree, or we would
forget to commit the change of them when doing transaction commit, and it
would corrupt the metadata.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>1 parent 7bf811a commit 14927d9
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | 302 | | |
308 | 303 | | |
309 | 304 | | |
| |||
318 | 313 | | |
319 | 314 | | |
320 | 315 | | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
321 | 319 | | |
322 | 320 | | |
323 | 321 | | |
| |||
0 commit comments