diff options
author | Stefan Behrens <sbehrens@giantdisaster.de> | 2013-04-19 17:08:04 +0200 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-05-06 21:55:14 +0200 |
commit | 5fbf83c10c323cbee61483a06ea61883e3c83e6b (patch) | |
tree | 9308c3c9f30d11d3fdd2513ce119bd073d7c46f3 /fs/btrfs/root-tree.c | |
parent | Btrfs: fix error handling in btrfs_ioctl_send() (diff) | |
download | linux-5fbf83c10c323cbee61483a06ea61883e3c83e6b.tar.xz linux-5fbf83c10c323cbee61483a06ea61883e3c83e6b.zip |
Btrfs: delete unused parameter to btrfs_read_root_item()
Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to '')
-rw-r--r-- | fs/btrfs/root-tree.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/btrfs/root-tree.c b/fs/btrfs/root-tree.c index 668af537a3ea..5bf1ed57f178 100644 --- a/fs/btrfs/root-tree.c +++ b/fs/btrfs/root-tree.c @@ -29,9 +29,8 @@ * generation numbers as then we know the root was once mounted with an older * kernel that was not aware of the root item structure change. */ -void btrfs_read_root_item(struct btrfs_root *root, - struct extent_buffer *eb, int slot, - struct btrfs_root_item *item) +void btrfs_read_root_item(struct extent_buffer *eb, int slot, + struct btrfs_root_item *item) { uuid_le uuid; int len; @@ -104,7 +103,7 @@ int btrfs_find_last_root(struct btrfs_root *root, u64 objectid, goto out; } if (item) - btrfs_read_root_item(root, l, slot, item); + btrfs_read_root_item(l, slot, item); if (key) memcpy(key, &found_key, sizeof(found_key)); |