Commit 762bf09
btrfs: improve error handling in run_delalloc_nocow
Correctly handle failure cases when adding an ordered extents in case
of REGULAR or PREALLOC extents. Remove the BUG_ON.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>1 parent e8e2100 commit 762bf09
1 file changed
+17
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1314 | 1314 | | |
1315 | 1315 | | |
1316 | 1316 | | |
| 1317 | + | |
| 1318 | + | |
1317 | 1319 | | |
1318 | 1320 | | |
1319 | 1321 | | |
| |||
1333 | 1335 | | |
1334 | 1336 | | |
1335 | 1337 | | |
1336 | | - | |
1337 | 1338 | | |
1338 | 1339 | | |
1339 | 1340 | | |
1340 | 1341 | | |
1341 | | - | |
| 1342 | + | |
| 1343 | + | |
1342 | 1344 | | |
1343 | 1345 | | |
1344 | 1346 | | |
| |||
1572 | 1574 | | |
1573 | 1575 | | |
1574 | 1576 | | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
1575 | 1584 | | |
1576 | 1585 | | |
1577 | 1586 | | |
1578 | 1587 | | |
1579 | 1588 | | |
| 1589 | + | |
| 1590 | + | |
1580 | 1591 | | |
1581 | 1592 | | |
1582 | 1593 | | |
1583 | 1594 | | |
1584 | | - | |
| 1595 | + | |
1585 | 1596 | | |
1586 | 1597 | | |
1587 | 1598 | | |
| |||
1626 | 1637 | | |
1627 | 1638 | | |
1628 | 1639 | | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
1629 | 1643 | | |
1630 | 1644 | | |
1631 | 1645 | | |
| |||
0 commit comments