Commit 0e128d4
btrfs: remove unlock_extent from run_delalloc_compressed
Since we immediately unlock the extent range when we enter
run_delalloc_compressed() simply move the lock_extent() down to cover
cow_file_range() and then remove the unlock_extent() from
run_delalloc_compressed.
Reviewed-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>1 parent aa56b0a commit 0e128d4
1 file changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1642 | 1642 | | |
1643 | 1643 | | |
1644 | 1644 | | |
1645 | | - | |
1646 | 1645 | | |
1647 | 1646 | | |
1648 | 1647 | | |
| |||
2276 | 2275 | | |
2277 | 2276 | | |
2278 | 2277 | | |
2279 | | - | |
2280 | | - | |
2281 | | - | |
2282 | | - | |
2283 | | - | |
2284 | 2278 | | |
2285 | 2279 | | |
2286 | 2280 | | |
2287 | 2281 | | |
2288 | 2282 | | |
| 2283 | + | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
2289 | 2288 | | |
2290 | 2289 | | |
2291 | 2290 | | |
| |||
0 commit comments