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/file-item.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/file-item.c')
-rw-r--r-- | fs/btrfs/file-item.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/btrfs/file-item.c b/fs/btrfs/file-item.c index a6a9d4e8b491..f47e43d855aa 100644 --- a/fs/btrfs/file-item.c +++ b/fs/btrfs/file-item.c | |||
@@ -193,7 +193,7 @@ static int __btrfs_lookup_bio_sums(struct btrfs_root *root, | |||
193 | u32 item_size; | 193 | u32 item_size; |
194 | 194 | ||
195 | if (item) | 195 | if (item) |
196 | btrfs_release_path(root, path); | 196 | btrfs_release_path(path); |
197 | item = btrfs_lookup_csum(NULL, root->fs_info->csum_root, | 197 | item = btrfs_lookup_csum(NULL, root->fs_info->csum_root, |
198 | path, disk_bytenr, 0); | 198 | path, disk_bytenr, 0); |
199 | if (IS_ERR(item)) { | 199 | if (IS_ERR(item)) { |
@@ -213,7 +213,7 @@ static int __btrfs_lookup_bio_sums(struct btrfs_root *root, | |||
213 | (unsigned long long)offset); | 213 | (unsigned long long)offset); |
214 | } | 214 | } |
215 | item = NULL; | 215 | item = NULL; |
216 | btrfs_release_path(root, path); | 216 | btrfs_release_path(path); |
217 | goto found; | 217 | goto found; |
218 | } | 218 | } |
219 | btrfs_item_key_to_cpu(path->nodes[0], &found_key, | 219 | btrfs_item_key_to_cpu(path->nodes[0], &found_key, |
@@ -631,7 +631,7 @@ int btrfs_del_csums(struct btrfs_trans_handle *trans, | |||
631 | if (key.offset < bytenr) | 631 | if (key.offset < bytenr) |
632 | break; | 632 | break; |
633 | } | 633 | } |
634 | btrfs_release_path(root, path); | 634 | btrfs_release_path(path); |
635 | } | 635 | } |
636 | out: | 636 | out: |
637 | btrfs_free_path(path); | 637 | btrfs_free_path(path); |
@@ -722,7 +722,7 @@ again: | |||
722 | * at this point, we know the tree has an item, but it isn't big | 722 | * at this point, we know the tree has an item, but it isn't big |
723 | * enough yet to put our csum in. Grow it | 723 | * enough yet to put our csum in. Grow it |
724 | */ | 724 | */ |
725 | btrfs_release_path(root, path); | 725 | btrfs_release_path(path); |
726 | ret = btrfs_search_slot(trans, root, &file_key, path, | 726 | ret = btrfs_search_slot(trans, root, &file_key, path, |
727 | csum_size, 1); | 727 | csum_size, 1); |
728 | if (ret < 0) | 728 | if (ret < 0) |
@@ -766,7 +766,7 @@ again: | |||
766 | } | 766 | } |
767 | 767 | ||
768 | insert: | 768 | insert: |
769 | btrfs_release_path(root, path); | 769 | btrfs_release_path(path); |
770 | csum_offset = 0; | 770 | csum_offset = 0; |
771 | if (found_next) { | 771 | if (found_next) { |
772 | u64 tmp = total_bytes + root->sectorsize; | 772 | u64 tmp = total_bytes + root->sectorsize; |
@@ -850,7 +850,7 @@ next_sector: | |||
850 | } | 850 | } |
851 | btrfs_mark_buffer_dirty(path->nodes[0]); | 851 | btrfs_mark_buffer_dirty(path->nodes[0]); |
852 | if (total_bytes < sums->len) { | 852 | if (total_bytes < sums->len) { |
853 | btrfs_release_path(root, path); | 853 | btrfs_release_path(path); |
854 | cond_resched(); | 854 | cond_resched(); |
855 | goto again; | 855 | goto again; |
856 | } | 856 | } |