diff options
author | Ondrej Oprala | 2013-01-10 12:35:08 +0100 |
---|---|---|
committer | Karel Zak | 2013-01-10 14:52:24 +0100 |
commit | e47a19312ff91de3c4ead99714b8bfa06139809e (patch) | |
tree | 10af2946745dab0416cc97e74c5c4ce0c2b8bf90 /libmount/src/libmount.h.in | |
parent | libmount: fix regression test helper (diff) | |
download | kernel-qcow2-util-linux-e47a19312ff91de3c4ead99714b8bfa06139809e.tar.gz kernel-qcow2-util-linux-e47a19312ff91de3c4ead99714b8bfa06139809e.tar.xz kernel-qcow2-util-linux-e47a19312ff91de3c4ead99714b8bfa06139809e.zip |
libmount: read optional mountinfo fields
[kzak@redhat.com: - rename struct member and functions from
"propagation" to "optional fields"
- split the original patch
- fix parser]
Signed-off-by: Ondrej Oprala <ondrej.oprala@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/libmount.h.in')
-rw-r--r-- | libmount/src/libmount.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmount/src/libmount.h.in b/libmount/src/libmount.h.in index 06b1595a5..b93011aa8 100644 --- a/libmount/src/libmount.h.in +++ b/libmount/src/libmount.h.in @@ -327,6 +327,9 @@ extern char *mnt_fs_strdup_options(struct libmnt_fs *fs) extern const char *mnt_fs_get_options(struct libmnt_fs *fs) __ul_attribute__((nonnull)) __ul_attribute__((warn_unused_result)); +extern const char *mnt_fs_get_optional_fields(struct libmnt_fs *fs) + __ul_attribute__((nonnull)) + __ul_attribute__((warn_unused_result)); extern int mnt_fs_set_options(struct libmnt_fs *fs, const char *optstr); extern int mnt_fs_append_options(struct libmnt_fs *fs, const char *optstr); extern int mnt_fs_prepend_options(struct libmnt_fs *fs, const char *optstr); |