]> git.proxmox.com Git - mirror_lxc.git/commit
use btrfs snapshot feature to restore snapshots
authorS.Çağlar Onur <caglar@10ur.org>
Fri, 28 Feb 2014 21:39:41 +0000 (16:39 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 3 Mar 2014 16:01:22 +0000 (11:01 -0500)
commit65db0e5a25839f24fd0f314b113b20dc48caf97b
tree1f51ea7e091903367b31c60fd8b956265f4379fc
parent73d28d4295aea27abc38a309ba94b2046675abc1
use btrfs snapshot feature to restore snapshots

fixes #131

changes since v1;
* uses btrfs snapshot feature only if src and dest are on same fs

Signed-off-by: S.Çağlar Onur <caglar@10ur.org>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/bdev.c