path: root/utils.c
diff options
authorEric Sandeen <>2013-08-02 19:52:43 -0500
committerDavid Sterba <>2013-09-03 19:40:46 +0200
commit4e8c4d4ba72cba988a072246ce6de50e2e190c68 (patch)
tree4ced09fdcf5aaf89db28ce7c04554ec89adac388 /utils.c
parent9db49418b367ede03954d5a42c92e8dfcc10f7ad (diff)
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 <>
Diffstat (limited to 'utils.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.c b/utils.c
index 6b4c4a7b..15b991ff 100644
--- a/utils.c
+++ b/utils.c
@@ -682,7 +682,7 @@ int is_block_device(const char *path) {
* On failure, returns -errno (not mounted yields -EINVAL)
* Is noisy on failures, expects to be given a mounted device.
-int get_btrfs_mount(const char *dev, char *mp, size_t mp_size) {
+static int get_btrfs_mount(const char *dev, char *mp, size_t mp_size) {
int ret;
int fd = -1;