Commit 08fdca9
btrfs: avoid superfluous calls to free_extent_map() in btrfs_encoded_read()
Change the control flow of btrfs_encoded_read() so that it doesn't call
free_extent_map() when we know that this has already been done.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Mark Harmstone <maharmstone@fb.com>
Suggested-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>1 parent e36d114 commit 08fdca9
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9324 | 9324 | | |
9325 | 9325 | | |
9326 | 9326 | | |
9327 | | - | |
| 9327 | + | |
9328 | 9328 | | |
9329 | 9329 | | |
9330 | 9330 | | |
| |||
9384 | 9384 | | |
9385 | 9385 | | |
9386 | 9386 | | |
9387 | | - | |
| 9387 | + | |
9388 | 9388 | | |
9389 | 9389 | | |
9390 | 9390 | | |
| |||
0 commit comments