summaryrefslogtreecommitdiffstats
path: root/libmount/src/mountP.h
diff options
context:
space:
mode:
authorKarel Zak2015-03-10 13:35:56 +0100
committerKarel Zak2015-03-10 13:49:57 +0100
commitcc06a01ec551ed2bcd397a5097165b4434179b34 (patch)
treebbdfb43dea554a0c315aa647718ee946c7813f0a /libmount/src/mountP.h
parentfindmnt: don't rely on st_dev for --target (diff)
downloadkernel-qcow2-util-linux-cc06a01ec551ed2bcd397a5097165b4434179b34.tar.gz
kernel-qcow2-util-linux-cc06a01ec551ed2bcd397a5097165b4434179b34.tar.xz
kernel-qcow2-util-linux-cc06a01ec551ed2bcd397a5097165b4434179b34.zip
libmount: cleanup fs root detection code
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/mountP.h')
-rw-r--r--libmount/src/mountP.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/libmount/src/mountP.h b/libmount/src/mountP.h
index cdd57cc5b..5eefa7110 100644
--- a/libmount/src/mountP.h
+++ b/libmount/src/mountP.h
@@ -99,7 +99,6 @@ extern int mnt_get_uid(const char *username, uid_t *uid);
extern int mnt_get_gid(const char *groupname, gid_t *gid);
extern int mnt_in_group(gid_t gid);
-extern char *mnt_get_fs_root(const char *path, const char *mountpoint);
extern int mnt_open_uniq_filename(const char *filename, char **name);
extern int mnt_has_regular_utab(const char **utab, int *writable);
@@ -116,10 +115,6 @@ extern int mnt_table_set_parser_fltrcb( struct libmnt_table *tb,
int (*cb)(struct libmnt_fs *, void *),
void *data);
-extern struct libmnt_fs *mnt_table_get_fs_root(struct libmnt_table *tb,
- struct libmnt_fs *fs,
- unsigned long mountflags,
- char **fsroot);
extern int __mnt_table_parse_mtab(struct libmnt_table *tb,
const char *filename,
struct libmnt_table *u_tb);