diff options
author | Ross Kirk <ross.kirk@gmail.com> | 2013-09-16 15:58:09 +0100 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-11-11 21:50:48 -0500 |
commit | dd3cc16b8750251ea9b1a843ce7806e82b015d5e (patch) | |
tree | 9cb6e2d093ff52dffaa09b7474e805152691a541 /fs/btrfs/inode-item.c | |
parent | f06becc4119856c984e3beef54aa75538e656c6d (diff) | |
download | linux-dd3cc16b8750251ea9b1a843ce7806e82b015d5e.tar.gz linux-dd3cc16b8750251ea9b1a843ce7806e82b015d5e.tar.bz2 linux-dd3cc16b8750251ea9b1a843ce7806e82b015d5e.zip |
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-item.c')
-rw-r--r-- | fs/btrfs/inode-item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode-item.c b/fs/btrfs/inode-item.c index e0b7034d6343..ec82fae07097 100644 --- a/fs/btrfs/inode-item.c +++ b/fs/btrfs/inode-item.c @@ -369,7 +369,7 @@ static int btrfs_insert_inode_extref(struct btrfs_trans_handle *trans, goto out; leaf = path->nodes[0]; - item = btrfs_item_nr(leaf, path->slots[0]); + item = btrfs_item_nr(path->slots[0]); ptr = (unsigned long)btrfs_item_ptr(leaf, path->slots[0], char); ptr += btrfs_item_size(leaf, item) - ins_len; extref = (struct btrfs_inode_extref *)ptr; |