summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/mountP.h
diff options
context:
space:
mode:
authorKarel Zak2010-07-28 15:16:49 +0200
committerKarel Zak2011-01-03 12:28:40 +0100
commit9758c88ad19c7aa27d2077738729afcbce58bfc3 (patch)
tree8221e66a292ca4c063d03db40c1c0064ab059dd9 /shlibs/mount/src/mountP.h
parentlibmount: add uhelper=, improve mnt_split_optstr() (diff)
downloadkernel-qcow2-util-linux-9758c88ad19c7aa27d2077738729afcbce58bfc3.tar.gz
kernel-qcow2-util-linux-9758c88ad19c7aa27d2077738729afcbce58bfc3.tar.xz
kernel-qcow2-util-linux-9758c88ad19c7aa27d2077738729afcbce58bfc3.zip
libmount: improve mnt_get_fs_root() and mnt_get_mountpoint()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/mountP.h')
-rw-r--r--shlibs/mount/src/mountP.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/shlibs/mount/src/mountP.h b/shlibs/mount/src/mountP.h
index 59ffb94e3..ea6a87c5c 100644
--- a/shlibs/mount/src/mountP.h
+++ b/shlibs/mount/src/mountP.h
@@ -37,6 +37,8 @@
#define DEBUG_OPTIONS (1 << 3)
#define DEBUG_LOCKS (1 << 4)
#define DEBUG_TAB (1 << 5)
+#define DEBUG_MTAB (1 << 6)
+#define DEBUG_UTILS (1 << 7)
#define DEBUG_ALL 0xFFFF
#ifdef CONFIG_LIBMOUNT_DEBUG
@@ -74,7 +76,7 @@ extern char *mnt_get_username(const uid_t uid);
extern int mnt_has_regular_mtab(void);
extern char *mnt_get_mountpoint(const char *path);
-extern char *mnt_get_fs_root(const char *path);
+extern char *mnt_get_fs_root(const char *path, const char *mountpoint);
/*
* Generic iterator