summaryrefslogtreecommitdiff
path: root/src/shared/path-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-04-12 18:45:08 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-04-12 18:45:08 -0400
commit3df6745c2b830ea35f6363c2ea78476f1bc9e899 (patch)
tree1f5c991c5557a9c9cc49656ad0cf563848e79d87 /src/shared/path-util.h
parentc9853d8cda5d28e27ea4ef61630ddab88d85f68f (diff)
path-util.c: changes for rm-rf: never cross mount points
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/shared/path-util.h')
-rw-r--r--src/shared/path-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/path-util.h b/src/shared/path-util.h
index f5f5c36664..56d1c52ae2 100644
--- a/src/shared/path-util.h
+++ b/src/shared/path-util.h
@@ -34,6 +34,7 @@ bool path_equal(const char *a, const char *b) _pure_;
char** path_strv_resolve(char **l, const char *prefix);
char** path_strv_resolve_uniq(char **l, const char *prefix);
+int fd_is_mount_point(int fd);
int path_is_mount_point(const char *path, bool allow_symlink);
bool paths_check_timestamp(const char* const* paths, usec_t *paths_ts_usec, bool update);