diff options
author | Karel Zak | 2014-11-19 11:07:40 +0100 |
---|---|---|
committer | Karel Zak | 2014-11-19 11:07:40 +0100 |
commit | 7deae03fb4a70ed64881ef92b9f456ed41897c6d (patch) | |
tree | e255ab7f0edabf503d15c217e36431582a79249c /libmount/src/mountP.h | |
parent | libmount: reuse allocated fs in parser (diff) | |
download | kernel-qcow2-util-linux-7deae03fb4a70ed64881ef92b9f456ed41897c6d.tar.gz kernel-qcow2-util-linux-7deae03fb4a70ed64881ef92b9f456ed41897c6d.tar.xz kernel-qcow2-util-linux-7deae03fb4a70ed64881ef92b9f456ed41897c6d.zip |
libmount: add private mnt_context_get_mtab_for_target()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/mountP.h')
-rw-r--r-- | libmount/src/mountP.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmount/src/mountP.h b/libmount/src/mountP.h index 2dd9fae46..d530d6419 100644 --- a/libmount/src/mountP.h +++ b/libmount/src/mountP.h @@ -376,6 +376,9 @@ extern int mnt_context_mtab_writable(struct libmnt_context *cxt); extern int mnt_context_utab_writable(struct libmnt_context *cxt); extern const char *mnt_context_get_writable_tabpath(struct libmnt_context *cxt); +extern int mnt_context_get_mtab_for_target(struct libmnt_context *cxt, + struct libmnt_table **mtab, const char *tgt); + extern int mnt_context_prepare_srcpath(struct libmnt_context *cxt); extern int mnt_context_prepare_target(struct libmnt_context *cxt); extern int mnt_context_guess_srcpath_fstype(struct libmnt_context *cxt, char **type); |