Loading fs/btrfs/disk-io.c +1 −1 Original line number Diff line number Diff line Loading @@ -652,7 +652,7 @@ static int btree_readpage_end_io_hook(struct btrfs_io_bio *io_bio, * that we don't try and read the other copies of this block, just * return -EIO. */ if (found_level == 0 && btrfs_check_leaf_full(fs_info, eb)) { if (found_level == 0 && btrfs_check_leaf_full(eb)) { set_bit(EXTENT_BUFFER_CORRUPT, &eb->bflags); ret = -EIO; } Loading fs/btrfs/tree-checker.c +1 −2 Original line number Diff line number Diff line Loading @@ -963,8 +963,7 @@ static int check_leaf(struct extent_buffer *leaf, bool check_item_data) return 0; } int btrfs_check_leaf_full(struct btrfs_fs_info *fs_info, struct extent_buffer *leaf) int btrfs_check_leaf_full(struct extent_buffer *leaf) { return check_leaf(leaf, true); } Loading fs/btrfs/tree-checker.h +1 −2 Original line number Diff line number Diff line Loading @@ -14,8 +14,7 @@ * Will check not only the item pointers, but also every possible member * in item data. */ int btrfs_check_leaf_full(struct btrfs_fs_info *fs_info, struct extent_buffer *leaf); int btrfs_check_leaf_full(struct extent_buffer *leaf); /* * Less strict leaf checker. Loading Loading
fs/btrfs/disk-io.c +1 −1 Original line number Diff line number Diff line Loading @@ -652,7 +652,7 @@ static int btree_readpage_end_io_hook(struct btrfs_io_bio *io_bio, * that we don't try and read the other copies of this block, just * return -EIO. */ if (found_level == 0 && btrfs_check_leaf_full(fs_info, eb)) { if (found_level == 0 && btrfs_check_leaf_full(eb)) { set_bit(EXTENT_BUFFER_CORRUPT, &eb->bflags); ret = -EIO; } Loading
fs/btrfs/tree-checker.c +1 −2 Original line number Diff line number Diff line Loading @@ -963,8 +963,7 @@ static int check_leaf(struct extent_buffer *leaf, bool check_item_data) return 0; } int btrfs_check_leaf_full(struct btrfs_fs_info *fs_info, struct extent_buffer *leaf) int btrfs_check_leaf_full(struct extent_buffer *leaf) { return check_leaf(leaf, true); } Loading
fs/btrfs/tree-checker.h +1 −2 Original line number Diff line number Diff line Loading @@ -14,8 +14,7 @@ * Will check not only the item pointers, but also every possible member * in item data. */ int btrfs_check_leaf_full(struct btrfs_fs_info *fs_info, struct extent_buffer *leaf); int btrfs_check_leaf_full(struct extent_buffer *leaf); /* * Less strict leaf checker. Loading