]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: add mnt_table_get_fs_root() to header file
authorKarel Zak <kzak@redhat.com>
Wed, 11 Mar 2015 10:11:19 +0000 (11:11 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 11 Mar 2015 10:11:19 +0000 (11:11 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/mountP.h

index 5eefa71104453f3afe48dc7f81bba98c7aa50fd8..d28eb9cdd84725f9a0594e026ac1636d7c5c1cbd 100644 (file)
@@ -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