aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2015-03-11 11:11:19 +0100
committerKarel Zak <kzak@redhat.com>2015-03-11 11:11:19 +0100
commitc8b9ecebe9a8f44f968ed94aa7ad2c0f38a0d62c (patch)
tree225b898f7e71d930a95751baf577da698b726a5b
parent772f813a40d9b864080a64b53852422d3df5233b (diff)
downloadutil-linux-playground-c8b9ecebe9a8f44f968ed94aa7ad2c0f38a0d62c.tar.gz
libmount: add mnt_table_get_fs_root() to header file
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--libmount/src/mountP.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmount/src/mountP.h b/libmount/src/mountP.h
index 5eefa71104..d28eb9cdd8 100644
--- a/libmount/src/mountP.h
+++ b/libmount/src/mountP.h
@@ -119,6 +119,10 @@ extern int __mnt_table_parse_mtab(struct libmnt_table *tb,
const char *filename,
struct libmnt_table *u_tb);
+extern struct libmnt_fs *mnt_table_get_fs_root(struct libmnt_table *tb,
+ struct libmnt_fs *fs,
+ unsigned long mountflags,
+ char **fsroot);
/*
* Generic iterator