diff options
author | Karel Zak | 2018-12-10 11:39:08 +0100 |
---|---|---|
committer | Karel Zak | 2018-12-10 11:39:08 +0100 |
commit | 1dae161c839ead8a642b74f432e0f82bb5f5fdd2 (patch) | |
tree | a6fd41e8f992e106cdf94f34c2f4bf0c7905a420 /libmount/src/libmount.h.in | |
parent | lsblk: add --merge (diff) | |
download | kernel-qcow2-util-linux-1dae161c839ead8a642b74f432e0f82bb5f5fdd2.tar.gz kernel-qcow2-util-linux-1dae161c839ead8a642b74f432e0f82bb5f5fdd2.tar.xz kernel-qcow2-util-linux-1dae161c839ead8a642b74f432e0f82bb5f5fdd2.zip |
libmount: export mnt_guess_system_root() by API
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/libmount.h.in')
-rw-r--r-- | libmount/src/libmount.h.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmount/src/libmount.h.in b/libmount/src/libmount.h.in index 63ba3225f..1ce9995ec 100644 --- a/libmount/src/libmount.h.in +++ b/libmount/src/libmount.h.in @@ -326,6 +326,8 @@ extern const char *mnt_get_mtab_path(void); extern int mnt_has_regular_mtab(const char **mtab, int *writable); extern char *mnt_get_mountpoint(const char *path) __ul_attribute__((warn_unused_result)); +extern int mnt_guess_system_root(dev_t devno, struct libmnt_cache *cache, char **path) + __ul_attribute__((nonnull(3))); /* cache.c */ extern struct libmnt_cache *mnt_new_cache(void) |