From 4e8c4d4ba72cba988a072246ce6de50e2e190c68 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Fri, 2 Aug 2013 19:52:43 -0500 Subject: btrfs-progs: drop unused parameter from btrfs_release_path Port of commit b3b4aa7 to userspace. parameter tree root it's not used since commit 5f39d397dfbe140a14edecd4e73c34ce23c4f9ee ("Btrfs: Create extent_buffer interface for large blocksizes") This gets userspace a tad closer to kernelspace by removing this unused parameter that was all over the codebase... Signed-off-by: Eric Sandeen Signed-off-by: David Sterba Signed-off-by: Chris Mason --- inode-map.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inode-map.c') diff --git a/inode-map.c b/inode-map.c index d2970d41..f901109d 100644 --- a/inode-map.c +++ b/inode-map.c @@ -122,12 +122,12 @@ int btrfs_find_free_objectid(struct btrfs_trans_handle *trans, // FIXME -ENOSPC found: root->last_inode_alloc = *objectid; - btrfs_release_path(root, path); + btrfs_release_path(path); btrfs_free_path(path); BUG_ON(*objectid < search_start); return 0; error: - btrfs_release_path(root, path); + btrfs_release_path(path); btrfs_free_path(path); return ret; } -- cgit v1.2.3