Skip to content

Commit

Permalink
btrfs: remove unused inode argument from uncompress_inline()
Browse files Browse the repository at this point in the history
The inode argument is never used from the beginning, so remove it.

Signed-off-by: Byongho Lee <bhlee.kernel@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
  • Loading branch information
Byongho Lee authored and David Sterba committed Jan 7, 2016
1 parent 4ef7675 commit e40da0e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions fs/btrfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -6687,7 +6687,7 @@ static int merge_extent_mapping(struct extent_map_tree *em_tree,
}

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,
struct btrfs_file_extent_item *item)
{
Expand Down Expand Up @@ -6883,8 +6883,7 @@ struct extent_map *btrfs_get_extent(struct inode *inode, struct page *page,
if (create == 0 && !PageUptodate(page)) {
if (btrfs_file_extent_compression(leaf, item) !=
BTRFS_COMPRESS_NONE) {
ret = uncompress_inline(path, inode, page,
pg_offset,
ret = uncompress_inline(path, page, pg_offset,
extent_offset, item);
if (ret) {
err = ret;
Expand Down

0 comments on commit e40da0e

Please sign in to comment.