path: root/send-utils.h
diff options
authorStefan Behrens <>2013-04-09 19:08:33 +0200
committerDavid Sterba <>2013-04-23 18:56:22 +0200
commit9b1daecf178bb7ff5be6e774853865080b721aac (patch)
treef7fafddcdfb3b8bc5819aa4d523afd43e70a8249 /send-utils.h
parenta3ed81c5e93079cfe8100382e6e015fba76a7715 (diff)
Btrfs-progs: add a function to free subvol_uuid_search memory
There was no way to free the memory that was used for the subvol_uuid_search functions. Since this is part of the libbtrfs, add such a cleanup function. Signed-off-by: Stefan Behrens <>
Diffstat (limited to 'send-utils.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/send-utils.h b/send-utils.h
index 199dd032..78abf944 100644
--- a/send-utils.h
+++ b/send-utils.h
@@ -62,6 +62,7 @@ struct subvol_uuid_search {
int subvol_uuid_search_init(int mnt_fd, struct subvol_uuid_search *s);
+void subvol_uuid_search_finit(struct subvol_uuid_search *s);
struct subvol_info *subvol_uuid_search(struct subvol_uuid_search *s,
u64 root_id, const u8 *uuid, u64 transid,
const char *path,