diff options
Diffstat (limited to 'fs/btrfs/tree-log.c')
-rw-r--r-- | fs/btrfs/tree-log.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c index cf618cc8b34a..e6d579053a47 100644 --- a/fs/btrfs/tree-log.c +++ b/fs/btrfs/tree-log.c | |||
@@ -540,8 +540,7 @@ static noinline int replay_one_extent(struct btrfs_trans_handle *trans, | |||
540 | if (found_type == BTRFS_FILE_EXTENT_REG) | 540 | if (found_type == BTRFS_FILE_EXTENT_REG) |
541 | extent_end = start + btrfs_file_extent_num_bytes(eb, item); | 541 | extent_end = start + btrfs_file_extent_num_bytes(eb, item); |
542 | else if (found_type == BTRFS_FILE_EXTENT_INLINE) { | 542 | else if (found_type == BTRFS_FILE_EXTENT_INLINE) { |
543 | size = btrfs_file_extent_inline_len(eb, | 543 | size = btrfs_file_extent_inline_len(eb, item); |
544 | btrfs_item_nr(eb, slot)); | ||
545 | extent_end = (start + size + mask) & ~mask; | 544 | extent_end = (start + size + mask) & ~mask; |
546 | } else { | 545 | } else { |
547 | ret = 0; | 546 | ret = 0; |