diff options
author | Jan Schmidt <list.btrfs@jan-o-sch.net> | 2012-08-20 13:40:18 +0200 |
---|---|---|
committer | Jan Schmidt <list.btrfs@jan-o-sch.net> | 2012-08-20 13:40:18 +0200 |
commit | f99b1f1a631f3dfb8dc9ad03b9a00bdc2a231d31 (patch) | |
tree | 89943d439eb92702b0876d12ccd575137ed7618c /Makefile | |
parent | 043a63924c9831ac52ce38f0365b9bfd628fb6a3 (diff) |
Btrfs-progs: replace find_mount_root from send code
find_mount_root had the problem that it tried to conclude from a file system
path to a mount point, taking the fsid as an indicator. This only works if
no two subvolumes (sharing the same btrfs fsid) are mounted in the same
hierarchy.
Now instead, we're parsing /etc/mtab and look for the longest match.
Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions