summaryrefslogtreecommitdiff
path: root/src/basic/fs-util.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-06-21 23:13:10 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-06-24 10:11:00 +0200
commitb25a930f0e2ebe77bc8b0f0acfac8a3b27ef1f0a (patch)
tree67d6e950bfa9b25fb958b3bd72b50e40eb104b1f /src/basic/fs-util.h
parent2d32453bc808a061a45bc5d345746a7c99b4b52f (diff)
downloadsystemd-b25a930f0e2ebe77bc8b0f0acfac8a3b27ef1f0a.tar.gz
basic,shared: move a bunch of files to src/shared/
The goal is to move everything that requires selinux or smack away from src/basic/. This means that src/basic/label.[ch] must move, which implies btrfs-util.[ch], copy.[ch], and a bunch of other files which form a cluster of internal use. This is just moving text around, so there should be no functional difference. test-blockdev-util is new, because path_is_encrypted() is moved to blockdev-util.c, and so far we didn't have any tests for code there.
Diffstat (limited to 'src/basic/fs-util.h')
-rw-r--r--src/basic/fs-util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/basic/fs-util.h b/src/basic/fs-util.h
index 85bdea64df..7f15b558ca 100644
--- a/src/basic/fs-util.h
+++ b/src/basic/fs-util.h
@@ -145,8 +145,6 @@ int syncfs_path(int atfd, const char *path);
int open_parent(const char *path, int flags, mode_t mode);
-int path_is_encrypted(const char *path);
-
int conservative_renameat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath);
static inline int conservative_rename(const char *oldpath, const char *newpath) {
return conservative_renameat(AT_FDCWD, oldpath, AT_FDCWD, newpath);