diff options
author | Ross Kirk <ross.kirk@gmail.com> | 2013-09-16 10:58:09 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-11-11 21:50:48 -0500 |
commit | dd3cc16b8750251ea9b1a843ce7806e82b015d5e (patch) | |
tree | 9cb6e2d093ff52dffaa09b7474e805152691a541 /fs/btrfs/inode.c | |
parent | f06becc4119856c984e3beef54aa75538e656c6d (diff) |
btrfs: drop unused parameter from btrfs_item_nr
Remove unused eb parameter from btrfs_item_nr
Signed-off-by: Ross Kirk <ross.kirk@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 59b4e2e495ac..57b27012d43a 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c | |||
@@ -5044,7 +5044,7 @@ static int btrfs_real_readdir(struct file *file, struct dir_context *ctx) | |||
5044 | continue; | 5044 | continue; |
5045 | } | 5045 | } |
5046 | 5046 | ||
5047 | item = btrfs_item_nr(leaf, slot); | 5047 | item = btrfs_item_nr(slot); |
5048 | btrfs_item_key_to_cpu(leaf, &found_key, slot); | 5048 | btrfs_item_key_to_cpu(leaf, &found_key, slot); |
5049 | 5049 | ||
5050 | if (found_key.objectid != key.objectid) | 5050 | if (found_key.objectid != key.objectid) |
@@ -5856,7 +5856,7 @@ static noinline int uncompress_inline(struct btrfs_path *path, | |||
5856 | compress_type = btrfs_file_extent_compression(leaf, item); | 5856 | compress_type = btrfs_file_extent_compression(leaf, item); |
5857 | max_size = btrfs_file_extent_ram_bytes(leaf, item); | 5857 | max_size = btrfs_file_extent_ram_bytes(leaf, item); |
5858 | inline_size = btrfs_file_extent_inline_item_len(leaf, | 5858 | inline_size = btrfs_file_extent_inline_item_len(leaf, |
5859 | btrfs_item_nr(leaf, path->slots[0])); | 5859 | btrfs_item_nr(path->slots[0])); |
5860 | tmp = kmalloc(inline_size, GFP_NOFS); | 5860 | tmp = kmalloc(inline_size, GFP_NOFS); |
5861 | if (!tmp) | 5861 | if (!tmp) |
5862 | return -ENOMEM; | 5862 | return -ENOMEM; |