diff options
author | Byongho Lee <bhlee.kernel@gmail.com> | 2015-05-19 16:46:45 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-01-07 14:29:02 +0100 |
commit | e40da0e58a208940bf3d1745f9bd8cf1e27904d4 (patch) | |
tree | 1243331e31bb3d5ebec7ddab52746239ab52f607 | |
parent | Linux 4.4-rc6 (diff) | |
download | linux-e40da0e58a208940bf3d1745f9bd8cf1e27904d4.tar.xz linux-e40da0e58a208940bf3d1745f9bd8cf1e27904d4.zip |
btrfs: remove unused inode argument from uncompress_inline()
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>
-rw-r--r-- | fs/btrfs/inode.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index a70c5790f8f5..1f7229025ec4 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -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) { @@ -6883,8 +6883,7 @@ next: 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; |