diff options
author | Chris Mason <chris.mason@fusionio.com> | 2012-08-09 12:48:29 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-08-09 12:48:29 -0400 |
commit | 043a63924c9831ac52ce38f0365b9bfd628fb6a3 (patch) | |
tree | 2b0b513050d06917db68b0d2d70a9424e062cdaa /send-utils.c | |
parent | 71687d74d08b1e27fb9d81562e03fa1de6790775 (diff) |
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 <chris.mason@fusionio.com>
Diffstat (limited to 'send-utils.c')
-rw-r--r-- | send-utils.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 { |