diff options
author | Wang Shilong <wangsl.fnst@cn.fujitsu.com> | 2013-11-30 00:37:25 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-01-31 08:22:12 -0800 |
commit | 8d68cb2bad0e8e7951811e0641188c447165141f (patch) | |
tree | 4814fd4523791470190e4ebb517ae8c3facb4f52 /INSTALL | |
parent | f053be8082194e30f4ecdb4ad9d5e7623aa41277 (diff) |
Btrfs-progs: avoid using btrfs internal subvolume path to send
Steps to reproduce:
# mkfs.btrfs -f /dev/sda
# mount /dev/sda /mnt
# btrfs subvolume create /mnt/foo
# umount /mnt
# mount -o subvol=foo /dev/sda /mnt
# btrfs sub snapshot -r /mnt /mnt/snap
# btrfs send /mnt/snap > /dev/null
We will fail to send '/mnt/snap',this is because btrfs send try to
open '/mnt/snap' by btrfs internal subvolume path 'foo/snap' rather
than relative path based on mounted point, this will return us 'no
such file or directory',this is not right, fix it.
Reported-by: Thomas Scheiblauer <tom@sharkbay.at>
Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions