diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-30 23:08:20 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-30 23:08:20 -0500 |
commit | e7651b819e90da924991d727d3c007200a18670d (patch) | |
tree | e7a943b5bb56c384972944fd86767a3f079b8a98 /fs/btrfs/check-integrity.c | |
parent | 060e8e3b6f8fc0ba97de2276249fbd80fa25b0a2 (diff) | |
parent | cf93da7bcf450cb4595055d491a0519cb39e68ed (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs
Pull btrfs updates from Chris Mason:
"This is a pretty big pull, and most of these changes have been
floating in btrfs-next for a long time. Filipe's properties work is a
cool building block for inheriting attributes like compression down on
a per inode basis.
Jeff Mahoney kicked in code to export filesystem info into sysfs.
Otherwise, lots of performance improvements, cleanups and bug fixes.
Looks like there are still a few other small pending incrementals, but
I wanted to get the bulk of this in first"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs: (149 commits)
Btrfs: fix spin_unlock in check_ref_cleanup
Btrfs: setup inode location during btrfs_init_inode_locked
Btrfs: don't use ram_bytes for uncompressed inline items
Btrfs: fix btrfs_search_slot_for_read backwards iteration
Btrfs: do not export ulist functions
Btrfs: rework ulist with list+rb_tree
Btrfs: fix memory leaks on walking backrefs failure
Btrfs: fix send file hole detection leading to data corruption
Btrfs: add a reschedule point in btrfs_find_all_roots()
Btrfs: make send's file extent item search more efficient
Btrfs: fix to catch all errors when resolving indirect ref
Btrfs: fix protection between walking backrefs and root deletion
btrfs: fix warning while merging two adjacent extents
Btrfs: fix infinite path build loops in incremental send
btrfs: undo sysfs when open_ctree() fails
Btrfs: fix snprintf usage by send's gen_unique_name
btrfs: fix defrag 32-bit integer overflow
btrfs: sysfs: list the NO_HOLES feature
btrfs: sysfs: don't show reserved incompat feature
btrfs: call permission checks earlier in ioctls and return EPERM
...
Diffstat (limited to 'fs/btrfs/check-integrity.c')
-rw-r--r-- | fs/btrfs/check-integrity.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/fs/btrfs/check-integrity.c b/fs/btrfs/check-integrity.c index cb05e1c842c5..49a62b4dda3b 100644 --- a/fs/btrfs/check-integrity.c +++ b/fs/btrfs/check-integrity.c | |||
@@ -1456,10 +1456,14 @@ static int btrfsic_handle_extent_data( | |||
1456 | btrfsic_read_from_block_data(block_ctx, &file_extent_item, | 1456 | btrfsic_read_from_block_data(block_ctx, &file_extent_item, |
1457 | file_extent_item_offset, | 1457 | file_extent_item_offset, |
1458 | sizeof(struct btrfs_file_extent_item)); | 1458 | sizeof(struct btrfs_file_extent_item)); |
1459 | next_bytenr = btrfs_stack_file_extent_disk_bytenr(&file_extent_item) + | 1459 | next_bytenr = btrfs_stack_file_extent_disk_bytenr(&file_extent_item); |
1460 | btrfs_stack_file_extent_offset(&file_extent_item); | 1460 | if (btrfs_stack_file_extent_compression(&file_extent_item) == |
1461 | generation = btrfs_stack_file_extent_generation(&file_extent_item); | 1461 | BTRFS_COMPRESS_NONE) { |
1462 | num_bytes = btrfs_stack_file_extent_num_bytes(&file_extent_item); | 1462 | next_bytenr += btrfs_stack_file_extent_offset(&file_extent_item); |
1463 | num_bytes = btrfs_stack_file_extent_num_bytes(&file_extent_item); | ||
1464 | } else { | ||
1465 | num_bytes = btrfs_stack_file_extent_disk_num_bytes(&file_extent_item); | ||
1466 | } | ||
1463 | generation = btrfs_stack_file_extent_generation(&file_extent_item); | 1467 | generation = btrfs_stack_file_extent_generation(&file_extent_item); |
1464 | 1468 | ||
1465 | if (state->print_mask & BTRFSIC_PRINT_MASK_VERY_VERBOSE) | 1469 | if (state->print_mask & BTRFSIC_PRINT_MASK_VERY_VERBOSE) |