diff options
author | Chris Mason <chris.mason@oracle.com> | 2011-05-22 12:33:42 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-05-22 12:33:42 -0400 |
commit | 945d8962ceee6bb273365d0bdf42f763225b290f (patch) | |
tree | 43f5617022c7c947c3c63664e49eb9575ab82f2f /fs/btrfs/delayed-inode.c | |
parent | 0d0ca30f180906224be6279788f2b202cfd959d8 (diff) | |
parent | 4ea028859bbdad34b84c9951fbb832ae10c6a96c (diff) | |
download | linux-945d8962ceee6bb273365d0bdf42f763225b290f.tar.bz2 |
Merge branch 'cleanups' of git://repo.or.cz/linux-2.6/btrfs-unstable into inode_numbers
Conflicts:
fs/btrfs/extent-tree.c
fs/btrfs/free-space-cache.c
fs/btrfs/inode.c
fs/btrfs/tree-log.c
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/delayed-inode.c')
-rw-r--r-- | fs/btrfs/delayed-inode.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/btrfs/delayed-inode.c b/fs/btrfs/delayed-inode.c index c25405f69360..01e29503a54b 100644 --- a/fs/btrfs/delayed-inode.c +++ b/fs/btrfs/delayed-inode.c @@ -813,7 +813,7 @@ do_again: ret = btrfs_insert_delayed_item(trans, root, path, curr); if (ret < 0) { - btrfs_release_path(root, path); + btrfs_release_path(path); goto insert_end; } @@ -827,7 +827,7 @@ do_again: btrfs_release_delayed_item(prev); btrfs_mark_buffer_dirty(path->nodes[0]); - btrfs_release_path(root, path); + btrfs_release_path(path); mutex_unlock(&node->mutex); goto do_again; @@ -925,7 +925,7 @@ do_again: curr = __btrfs_next_delayed_item(prev); btrfs_release_delayed_item(prev); ret = 0; - btrfs_release_path(root, path); + btrfs_release_path(path); if (curr) goto do_again; else @@ -933,12 +933,12 @@ do_again: } btrfs_batch_delete_items(trans, root, path, curr); - btrfs_release_path(root, path); + btrfs_release_path(path); mutex_unlock(&node->mutex); goto do_again; delete_fail: - btrfs_release_path(root, path); + btrfs_release_path(path); mutex_unlock(&node->mutex); return ret; } @@ -982,7 +982,7 @@ static int btrfs_update_delayed_inode(struct btrfs_trans_handle *trans, key.offset = 0; ret = btrfs_lookup_inode(trans, root, path, &key, 1); if (ret > 0) { - btrfs_release_path(root, path); + btrfs_release_path(path); mutex_unlock(&node->mutex); return -ENOENT; } else if (ret < 0) { @@ -997,7 +997,7 @@ static int btrfs_update_delayed_inode(struct btrfs_trans_handle *trans, write_extent_buffer(leaf, &node->inode_item, (unsigned long)inode_item, sizeof(struct btrfs_inode_item)); btrfs_mark_buffer_dirty(leaf); - btrfs_release_path(root, path); + btrfs_release_path(path); btrfs_delayed_inode_release_metadata(root, node); btrfs_release_delayed_inode(node); |