]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxczfs: small fixes 1184/head
authorChristian Brauner <christian.brauner@canonical.com>
Tue, 13 Sep 2016 15:18:23 +0000 (17:18 +0200)
committerChristian Brauner <christian.brauner@canonical.com>
Tue, 13 Sep 2016 15:22:30 +0000 (17:22 +0200)
commit326b171d39153ba6d7043ad6fb14fce92af46c69
tree54479e0957f11406b3eb545319c59b8e76a46638
parent3622fda0384cde89cd70c926f667d218631b93f9
lxczfs: small fixes

- We expect destroy to fail in zfs_clone() so try to silence it so users are
  not irritated when they create zfs snapshots.
- Add -r recursive to zfs_destroy(). This code is only hit when a) the
  container has no snapshots or b) the user calls destroy with snapshots. So
  this should be safe. Without -r snapshots will remain.

Signed-off-by: Christian Brauner <christian.brauner@canonical.com>
src/lxc/bdev/lxczfs.c