diff options
author | Jeff Mahoney <jeffm@suse.com> | 2016-06-22 03:18:21 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-07-26 14:54:23 +0300 |
commit | df3975652f23dcfb72aa043a32ecaf587e75b158 (patch) | |
tree | ef1fd451432ffbeeeca51188ede5a4ba4ab8d492 | |
parent | bd6c57dda666868abb222c1fa48e72f81db20e70 (diff) | |
download | linux-df3975652f23dcfb72aa043a32ecaf587e75b158.tar.xz |
btrfs: copy_to_sk drop unused root parameter
The root parameter for copy_to_sk is not used at all.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r-- | fs/btrfs/ioctl.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index ffb1628cd1a1..81413e600d9b 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -1948,8 +1948,7 @@ static noinline int key_in_sk(struct btrfs_key *key, return 1; } -static noinline int copy_to_sk(struct btrfs_root *root, - struct btrfs_path *path, +static noinline int copy_to_sk(struct btrfs_path *path, struct btrfs_key *key, struct btrfs_ioctl_search_key *sk, size_t *buf_size, @@ -2120,7 +2119,7 @@ static noinline int search_ioctl(struct inode *inode, ret = 0; goto err; } - ret = copy_to_sk(root, path, &key, sk, buf_size, ubuf, + ret = copy_to_sk(path, &key, sk, buf_size, ubuf, &sk_offset, &num_found); btrfs_release_path(path); if (ret) |