Daan De Meyer
0c15577abe
basic + fundamental: Clean up includes
...
Split out of #37344 .
2025-05-25 10:06:07 +02:00
Daan De Meyer
d9ccf6b349
path-util: Reduce transitive includes
2025-05-07 22:04:46 +09:00
Daan De Meyer
fda652117e
fs-util: Reduce transitive includes
2025-05-07 22:04:46 +09:00
Lennart Poettering
33b2da2d5b
btrfs: use ERRNO_IS_NOT_SUPPORTED() where appropriate
2023-08-16 14:30:51 +02:00
Lennart Poettering
f5254d0047
btrfs: drop O_PATH from dir_fd passed to btrfs_subvol_make() if needed
...
Let's make sure btrfs_subvol_make() can operate on O_PATH fds, just like
mkdirat().
Fixes a bunch of tmpfiles errors at boot if we try to create btrfs
subvols, introduced by e54c79ccc2
Fixes: e54c79ccc2
2023-08-16 14:29:20 +02:00
Daan De Meyer
e54c79ccc2
btrfs-util: Move subvolume creation to basic/btrfs.h
...
Also make btrfs_subvol_make() an openat style function.
2023-08-14 18:46:08 +02:00