aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2011-04-20 19:20:15 -0400
committerDavid Sterba <dsterba@suse.cz>2011-05-02 07:57:22 -0400
commitb3b4aa74b58bded927f579fff787fb6fa1c0393c (patch)
tree30dab4ab26558992dd8b6b212bef805de11c4c29 /fs/btrfs/file.c
parentba14419264684b290f0d0b7f48d26eafb11fc0c6 (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.c')
-rw-r--r--fs/btrfs/file.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index 80eabe85409a..566bdf298ea8 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
@@ -376,7 +376,7 @@ next_slot:
376 376
377 search_start = max(key.offset, start); 377 search_start = max(key.offset, start);
378 if (recow) { 378 if (recow) {
379 btrfs_release_path(root, path); 379 btrfs_release_path(path);
380 continue; 380 continue;
381 } 381 }
382 382
@@ -393,7 +393,7 @@ next_slot:
393 ret = btrfs_duplicate_item(trans, root, path, 393 ret = btrfs_duplicate_item(trans, root, path,
394 &new_key); 394 &new_key);
395 if (ret == -EAGAIN) { 395 if (ret == -EAGAIN) {
396 btrfs_release_path(root, path); 396 btrfs_release_path(path);
397 continue; 397 continue;
398 } 398 }
399 if (ret < 0) 399 if (ret < 0)
@@ -516,7 +516,7 @@ next_slot:
516 del_nr = 0; 516 del_nr = 0;
517 del_slot = 0; 517 del_slot = 0;
518 518
519 btrfs_release_path(root, path); 519 btrfs_release_path(path);
520 continue; 520 continue;
521 } 521 }
522 522
@@ -681,7 +681,7 @@ again:
681 new_key.offset = split; 681 new_key.offset = split;
682 ret = btrfs_duplicate_item(trans, root, path, &new_key); 682 ret = btrfs_duplicate_item(trans, root, path, &new_key);
683 if (ret == -EAGAIN) { 683 if (ret == -EAGAIN) {
684 btrfs_release_path(root, path); 684 btrfs_release_path(path);
685 goto again; 685 goto again;
686 } 686 }
687 BUG_ON(ret < 0); 687 BUG_ON(ret < 0);
@@ -721,7 +721,7 @@ again:
721 inode->i_ino, bytenr, orig_offset, 721 inode->i_ino, bytenr, orig_offset,
722 &other_start, &other_end)) { 722 &other_start, &other_end)) {
723 if (recow) { 723 if (recow) {
724 btrfs_release_path(root, path); 724 btrfs_release_path(path);
725 goto again; 725 goto again;
726 } 726 }
727 extent_end = other_end; 727 extent_end = other_end;
@@ -738,7 +738,7 @@ again:
738 inode->i_ino, bytenr, orig_offset, 738 inode->i_ino, bytenr, orig_offset,
739 &other_start, &other_end)) { 739 &other_start, &other_end)) {
740 if (recow) { 740 if (recow) {
741 btrfs_release_path(root, path); 741 btrfs_release_path(path);
742 goto again; 742 goto again;
743 } 743 }
744 key.offset = other_start; 744 key.offset = other_start;