diff options
| author | David Sterba <dsterba@suse.cz> | 2011-04-20 19:20:15 -0400 |
|---|---|---|
| committer | David Sterba <dsterba@suse.cz> | 2011-05-02 07:57:22 -0400 |
| commit | b3b4aa74b58bded927f579fff787fb6fa1c0393c (patch) | |
| tree | 30dab4ab26558992dd8b6b212bef805de11c4c29 /fs/btrfs/root-tree.c | |
| parent | ba14419264684b290f0d0b7f48d26eafb11fc0c6 (diff) | |
btrfs: drop unused parameter from btrfs_release_path
parameter tree root it's not used since commit
5f39d397dfbe140a14edecd4e73c34ce23c4f9ee ("Btrfs: Create extent_buffer
interface for large blocksizes")
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/root-tree.c')
| -rw-r--r-- | fs/btrfs/root-tree.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/btrfs/root-tree.c b/fs/btrfs/root-tree.c index 6928bff62daa..59a94c1d9815 100644 --- a/fs/btrfs/root-tree.c +++ b/fs/btrfs/root-tree.c | |||
| @@ -57,7 +57,7 @@ again: | |||
| 57 | btrfs_item_key_to_cpu(path->nodes[0], &search_key, path->slots[0]); | 57 | btrfs_item_key_to_cpu(path->nodes[0], &search_key, path->slots[0]); |
| 58 | if (search_key.type != BTRFS_ROOT_ITEM_KEY) { | 58 | if (search_key.type != BTRFS_ROOT_ITEM_KEY) { |
| 59 | search_key.offset++; | 59 | search_key.offset++; |
| 60 | btrfs_release_path(root, path); | 60 | btrfs_release_path(path); |
| 61 | goto again; | 61 | goto again; |
| 62 | } | 62 | } |
| 63 | ret = 0; | 63 | ret = 0; |
| @@ -230,7 +230,7 @@ again: | |||
| 230 | 230 | ||
| 231 | memcpy(&found_key, &key, sizeof(key)); | 231 | memcpy(&found_key, &key, sizeof(key)); |
| 232 | key.offset++; | 232 | key.offset++; |
| 233 | btrfs_release_path(root, path); | 233 | btrfs_release_path(path); |
| 234 | dead_root = | 234 | dead_root = |
| 235 | btrfs_read_fs_root_no_radix(root->fs_info->tree_root, | 235 | btrfs_read_fs_root_no_radix(root->fs_info->tree_root, |
| 236 | &found_key); | 236 | &found_key); |
| @@ -292,7 +292,7 @@ int btrfs_find_orphan_roots(struct btrfs_root *tree_root) | |||
| 292 | } | 292 | } |
| 293 | 293 | ||
| 294 | btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); | 294 | btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); |
| 295 | btrfs_release_path(tree_root, path); | 295 | btrfs_release_path(path); |
| 296 | 296 | ||
| 297 | if (key.objectid != BTRFS_ORPHAN_OBJECTID || | 297 | if (key.objectid != BTRFS_ORPHAN_OBJECTID || |
| 298 | key.type != BTRFS_ORPHAN_ITEM_KEY) | 298 | key.type != BTRFS_ORPHAN_ITEM_KEY) |
| @@ -390,7 +390,7 @@ again: | |||
| 390 | err = -ENOENT; | 390 | err = -ENOENT; |
| 391 | 391 | ||
| 392 | if (key.type == BTRFS_ROOT_BACKREF_KEY) { | 392 | if (key.type == BTRFS_ROOT_BACKREF_KEY) { |
| 393 | btrfs_release_path(tree_root, path); | 393 | btrfs_release_path(path); |
| 394 | key.objectid = ref_id; | 394 | key.objectid = ref_id; |
| 395 | key.type = BTRFS_ROOT_REF_KEY; | 395 | key.type = BTRFS_ROOT_REF_KEY; |
| 396 | key.offset = root_id; | 396 | key.offset = root_id; |
| @@ -463,7 +463,7 @@ again: | |||
| 463 | btrfs_mark_buffer_dirty(leaf); | 463 | btrfs_mark_buffer_dirty(leaf); |
| 464 | 464 | ||
| 465 | if (key.type == BTRFS_ROOT_BACKREF_KEY) { | 465 | if (key.type == BTRFS_ROOT_BACKREF_KEY) { |
| 466 | btrfs_release_path(tree_root, path); | 466 | btrfs_release_path(path); |
| 467 | key.objectid = ref_id; | 467 | key.objectid = ref_id; |
| 468 | key.type = BTRFS_ROOT_REF_KEY; | 468 | key.type = BTRFS_ROOT_REF_KEY; |
| 469 | key.offset = root_id; | 469 | key.offset = root_id; |
