summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2015-03-11 11:11:19 +0100
committerKarel Zak <kzak@redhat.com>2015-03-12 10:23:20 +0100
commit2c9486fac2b575193fbac55f00ae857328b573e5 (patch)
treee81cba0d672dfee28e9511bb83290ee30bb2f3d2
parent0a19619ba7fc452f0a276a880599d657d14efc6d (diff)
downloadutil-linux-2c9486fac2b575193fbac55f00ae857328b573e5.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 5eefa7110..d28eb9cdd 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