]> git.ipfire.org Git - thirdparty/systemd.git/commit
btrfs-util: before deleting a subvol check that it is one
authorLennart Poettering <lennart@poettering.net>
Mon, 29 Oct 2018 18:23:49 +0000 (19:23 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 8 Nov 2018 08:52:16 +0000 (09:52 +0100)
commitae1940d294e297d5d801f9f14f1809bfaab90e4d
tree04dade3125a3d767271b661ef3575854ec1968cd
parent8d2411f69348a081419c2fb7cddbe1970cf3eac5
btrfs-util: before deleting a subvol check that it is one

This has the benefit that we can return ENOTTY rather than EPERM if we
are attempting to delete a subvol and don't have the privs to.
src/basic/btrfs-util.c