summaryrefslogtreecommitdiff
path: root/src/basic/mount-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-10-12 11:21:11 +0200
committerGitHub <noreply@github.com>2016-10-12 11:21:11 +0200
commit18e51a022c632344c4a48ba6ccb3475fad2a2c3b (patch)
tree90ea49299228af56ac43a11b1ebfe7e0d45943ad /src/basic/mount-util.h
parent3f2a3726d02e269a37f1f2c2e429212988fd4cbf (diff)
parent7ef7147041573e355cb52b381bec3843e7d6d24b (diff)
Merge pull request #4351 from keszybz/nspawn-debugging
Enhance nspawn debug logs for mount/unmount operations
Diffstat (limited to 'src/basic/mount-util.h')
-rw-r--r--src/basic/mount-util.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/basic/mount-util.h b/src/basic/mount-util.h
index 74730de663..4f305df19f 100644
--- a/src/basic/mount-util.h
+++ b/src/basic/mount-util.h
@@ -52,3 +52,12 @@ union file_handle_union {
const char* mode_to_inaccessible_node(mode_t mode);
#define FILE_HANDLE_INIT { .handle.handle_bytes = MAX_HANDLE_SZ }
+
+int mount_verbose(
+ int error_log_level,
+ const char *what,
+ const char *where,
+ const char *type,
+ unsigned long flags,
+ const char *options);
+int umount_verbose(const char *where);