diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-10-12 11:21:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-12 11:21:11 +0200 |
commit | 18e51a022c632344c4a48ba6ccb3475fad2a2c3b (patch) | |
tree | 90ea49299228af56ac43a11b1ebfe7e0d45943ad /src/basic/mount-util.h | |
parent | 3f2a3726d02e269a37f1f2c2e429212988fd4cbf (diff) | |
parent | 7ef7147041573e355cb52b381bec3843e7d6d24b (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.h | 9 |
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); |