]> git.proxmox.com Git - mirror_lxc.git/commit
btrfs: support unprivileged destroy
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 6 May 2014 21:43:19 +0000 (21:43 +0000)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 7 May 2014 03:54:39 +0000 (22:54 -0500)
commit44a706bdaf1471dbddb05e10269a0d413d224ab5
treed997519201b30c2a5db711c766bd005020aeac03
parent2659c7cbd55beee72b9b1740f48f48ad9d7d89da
btrfs: support unprivileged destroy

Do this by calling the bdev->destroy() hook from a user namespace
configured as the container's.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/lxccontainer.c