diff options
Diffstat (limited to 'fs/btrfs/inode.c')
| -rw-r--r-- | fs/btrfs/inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index da8d2f696ac5..f1a77449d032 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c | |||
| @@ -2129,7 +2129,8 @@ static noinline bool record_extent_backrefs(struct btrfs_path *path, | |||
| 2129 | old->extent_offset, fs_info, | 2129 | old->extent_offset, fs_info, |
| 2130 | path, record_one_backref, | 2130 | path, record_one_backref, |
| 2131 | old); | 2131 | old); |
| 2132 | BUG_ON(ret < 0 && ret != -ENOENT); | 2132 | if (ret < 0 && ret != -ENOENT) |
| 2133 | return false; | ||
| 2133 | 2134 | ||
| 2134 | /* no backref to be processed for this extent */ | 2135 | /* no backref to be processed for this extent */ |
| 2135 | if (!old->count) { | 2136 | if (!old->count) { |
| @@ -6186,8 +6187,7 @@ insert: | |||
| 6186 | write_unlock(&em_tree->lock); | 6187 | write_unlock(&em_tree->lock); |
| 6187 | out: | 6188 | out: |
| 6188 | 6189 | ||
| 6189 | if (em) | 6190 | trace_btrfs_get_extent(root, em); |
| 6190 | trace_btrfs_get_extent(root, em); | ||
| 6191 | 6191 | ||
| 6192 | if (path) | 6192 | if (path) |
| 6193 | btrfs_free_path(path); | 6193 | btrfs_free_path(path); |
