Commit e40da0e5 authored by Byongho Lee's avatar Byongho Lee Committed by David Sterba

btrfs: remove unused inode argument from uncompress_inline()

The inode argument is never used from the beginning, so remove it.
Signed-off-by: default avatarByongho Lee <bhlee.kernel@gmail.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 4ef76753
...@@ -6687,7 +6687,7 @@ static int merge_extent_mapping(struct extent_map_tree *em_tree, ...@@ -6687,7 +6687,7 @@ static int merge_extent_mapping(struct extent_map_tree *em_tree,
} }
static noinline int uncompress_inline(struct btrfs_path *path, static noinline int uncompress_inline(struct btrfs_path *path,
struct inode *inode, struct page *page, struct page *page,
size_t pg_offset, u64 extent_offset, size_t pg_offset, u64 extent_offset,
struct btrfs_file_extent_item *item) struct btrfs_file_extent_item *item)
{ {
...@@ -6883,8 +6883,7 @@ struct extent_map *btrfs_get_extent(struct inode *inode, struct page *page, ...@@ -6883,8 +6883,7 @@ struct extent_map *btrfs_get_extent(struct inode *inode, struct page *page,
if (create == 0 && !PageUptodate(page)) { if (create == 0 && !PageUptodate(page)) {
if (btrfs_file_extent_compression(leaf, item) != if (btrfs_file_extent_compression(leaf, item) !=
BTRFS_COMPRESS_NONE) { BTRFS_COMPRESS_NONE) {
ret = uncompress_inline(path, inode, page, ret = uncompress_inline(path, page, pg_offset,
pg_offset,
extent_offset, item); extent_offset, item);
if (ret) { if (ret) {
err = ret; err = ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment