[lxc-devel] [lxc/lxc] 4aaf9b: btrfs: fix unprivileged snapshot creation

GitHub noreply at github.com
Thu Dec 21 22:08:20 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 4aaf9b81e9e1199a03d6d038d9350b145efa54b2
      https://github.com/lxc/lxc/commit/4aaf9b81e9e1199a03d6d038d9350b145efa54b2
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    M src/lxc/storage/btrfs.c

  Log Message:
  -----------
  btrfs: fix unprivileged snapshot creation

We already fixed privileged btrfs snapshot creation in:

commit 1c7222c084769a1d9406ca7dab943d8a5f016a56
Author: Christian Brauner <christian.brauner at ubuntu.com>
Date:   Tue Nov 28 13:51:03 2017 +0100

    btrfs: fix btrfs_snapshot()

    Closes #1956.

    Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
    Signed-off-by: Adrian Reber <areber at redhat.com>

but missed unprivileged btrfs snapshot creation. Fix it too.

Follow-up to #1956.
Closes #2051.

Reported-by: Oleg Freedhom overlayfs at gmail.com
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: da5f5e3fbbb2c5a3e21ccab6dfc1ac314add6967
      https://github.com/lxc/lxc/commit/da5f5e3fbbb2c5a3e21ccab6dfc1ac314add6967
  Author: Serge Hallyn <serge at hallyn.com>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M src/lxc/storage/btrfs.c

  Log Message:
  -----------
  Merge pull request #2052 from brauner/2017-12-19/unprivileged_btrfs_regression

btrfs: fix unprivileged snapshot creation


Compare: https://github.com/lxc/lxc/compare/b5b200c62731...da5f5e3fbbb2


More information about the lxc-devel mailing list