]> git.ipfire.org Git - thirdparty/systemd.git/commit
btrfs: when falling back to plain copy when snapshoting exclude submounts
authorLennart Poettering <lennart@poettering.net>
Fri, 1 Mar 2019 14:13:12 +0000 (15:13 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 1 Mar 2019 15:22:36 +0000 (16:22 +0100)
commitd3f3df6199e58fdb36cacbcbd0356e78822b5be9
tree916b2a88050ca0bab580f08480ae51b65cf3288a
parentcc5fc36aec85b706294aec568b62cb24c05c04a3
btrfs: when falling back to plain copy when snapshoting exclude submounts

The subvol snapshot logic doesn't cover sub-mounts either, and it really
shouldn't in the general case, hence let's simply stop at submounts in
all cases, both in the main and in the fall-back codepath.

As discussed here:

https://github.com/systemd/systemd/pull/11243#pullrequestreview-209477230
src/basic/btrfs-util.c