From 043a63924c9831ac52ce38f0365b9bfd628fb6a3 Mon Sep 17 00:00:00 2001 From: Chris Mason Date: Thu, 9 Aug 2012 12:48:29 -0400 Subject: Allow relative paths for btrfs send The initial btrfs send code was easily confused by relative paths and by anything that wasn't in the root of the FS. This fixes it to take relative paths. Signed-off-by: Chris Mason --- send-utils.c | 1 - 1 file changed, 1 deletion(-) (limited to 'send-utils.c') diff --git a/send-utils.c b/send-utils.c index 059efd32..a43d47e5 100644 --- a/send-utils.c +++ b/send-utils.c @@ -268,7 +268,6 @@ int subvol_uuid_search_init(int mnt_fd, struct subvol_uuid_search *s) si->stransid = btrfs_root_stransid(&root_item); si->rtransid = btrfs_root_rtransid(&root_item); si->path = path; - subvol_uuid_search_add(s, si); root_item_valid = 0; } else { -- cgit v1.2.3