summaryrefslogtreecommitdiff
path: root/cmds-subvolume.c
diff options
context:
space:
mode:
authorJan Schmidt <list.btrfs@jan-o-sch.net>2012-08-20 13:40:18 +0200
committerJan Schmidt <list.btrfs@jan-o-sch.net>2012-08-20 13:40:18 +0200
commitf99b1f1a631f3dfb8dc9ad03b9a00bdc2a231d31 (patch)
tree89943d439eb92702b0876d12ccd575137ed7618c /cmds-subvolume.c
parent043a63924c9831ac52ce38f0365b9bfd628fb6a3 (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 'cmds-subvolume.c')
0 files changed, 0 insertions, 0 deletions