diff options
author | Topi Miettinen <topimiettinen@users.noreply.github.com> | 2020-02-28 18:43:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-28 18:43:28 +0000 |
commit | 5ce928ecdf89a9b8630c682ec2c0fb90c69784ca (patch) | |
tree | c6f3a8bbe6852902da976650fbd22858aa158464 /src/basic/label.h | |
parent | 8956caf333ff64aebe56d0e01696e92964dd1a31 (diff) | |
download | systemd-revert-14900-fix-privatedevices-dev-mac-label.tar.gz |
Revert "namespace: fix MAC labels of /dev when PrivateDevices=yes"revert-14900-fix-privatedevices-dev-mac-label
This reverts commit e6e81ec0a56861b905db975fc32c83e2f2faca7d.
Diffstat (limited to 'src/basic/label.h')
-rw-r--r-- | src/basic/label.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/basic/label.h b/src/basic/label.h index a6f9074b28..594fd65974 100644 --- a/src/basic/label.h +++ b/src/basic/label.h @@ -9,10 +9,7 @@ typedef enum LabelFixFlags { LABEL_IGNORE_EROFS = 1 << 1, } LabelFixFlags; -int label_fix_container(const char *path, const char *inside_path, LabelFixFlags flags); -static inline int label_fix(const char *path, LabelFixFlags flags) { - return label_fix_container(path, path, flags); -} +int label_fix(const char *path, LabelFixFlags flags); int mkdir_label(const char *path, mode_t mode); int mkdirat_label(int dirfd, const char *path, mode_t mode); |