chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
time-util: when formatting usec_t as raw integers use PRIu64
[elogind.git]
/
src
/
basic
/
mount-util.h
diff --git
a/src/basic/mount-util.h
b/src/basic/mount-util.h
index 33453aa9fb20c4d869ce46b03c0a424bc0c8a8fb..deaa77950e50273b9e29003d64f7c92a1ddc6c7f 100644
(file)
--- a/
src/basic/mount-util.h
+++ b/
src/basic/mount-util.h
@@
-30,7
+30,7
@@
#include "missing.h"
int fd_is_mount_point(int fd, const char *filename, int flags);
#include "missing.h"
int fd_is_mount_point(int fd, const char *filename, int flags);
-int path_is_mount_point(const char *path, int flags);
+int path_is_mount_point(const char *path,
const char *root,
int flags);
#if 0 /// UNNEEDED by elogind
int repeat_unmount(const char *path, int flags);
#if 0 /// UNNEEDED by elogind
int repeat_unmount(const char *path, int flags);
@@
-57,6
+57,7
@@
const char* mode_to_inaccessible_node(mode_t mode);
#define FILE_HANDLE_INIT { .handle.handle_bytes = MAX_HANDLE_SZ }
#define FILE_HANDLE_INIT { .handle.handle_bytes = MAX_HANDLE_SZ }
+#if 0 /// UNNEEDED by elogind
int mount_verbose(
int error_log_level,
const char *what,
int mount_verbose(
int error_log_level,
const char *what,
@@
-65,3
+66,7
@@
int mount_verbose(
unsigned long flags,
const char *options);
int umount_verbose(const char *where);
unsigned long flags,
const char *options);
int umount_verbose(const char *where);
+#endif // 0
+
+const char *mount_propagation_flags_to_string(unsigned long flags);
+int mount_propagation_flags_from_string(const char *name, unsigned long *ret);