From 2089538adb1116d59be797f663bba059a5236b8a Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 7 Jun 2019 12:37:28 +0200 Subject: libmount: (docs) add reference to v2.33 and v2.34 Signed-off-by: Karel Zak --- libmount/docs/libmount-docs.xml | 9 ++++++++- libmount/src/context_mount.c | 2 ++ libmount/src/fs.c | 2 ++ libmount/src/tab.c | 6 ++++++ libmount/src/utils.c | 2 ++ 5 files changed, 20 insertions(+), 1 deletion(-) diff --git a/libmount/docs/libmount-docs.xml b/libmount/docs/libmount-docs.xml index 66a9c25b2..78364dac1 100644 --- a/libmount/docs/libmount-docs.xml +++ b/libmount/docs/libmount-docs.xml @@ -71,9 +71,16 @@ available from https://www.kernel.org/pub/linux/utils/util-linux/. Index of new symbols in 2.29 - Index of new symbols in 2.30 + + Index of new symbols in 2.33 + + + + Index of new symbols in 2.34 + + diff --git a/libmount/src/context_mount.c b/libmount/src/context_mount.c index 58224088a..8d6ff7e4e 100644 --- a/libmount/src/context_mount.c +++ b/libmount/src/context_mount.c @@ -1415,6 +1415,8 @@ int mnt_context_next_mount(struct libmnt_context *cxt, * Returns: 0 on success, * <0 in case of error (!= mount(2) errors) * 1 at the end of the list. + * + * Since: 2.34 */ int mnt_context_next_remount(struct libmnt_context *cxt, struct libmnt_iter *itr, diff --git a/libmount/src/fs.c b/libmount/src/fs.c index 147398955..eb89bb8a3 100644 --- a/libmount/src/fs.c +++ b/libmount/src/fs.c @@ -452,6 +452,8 @@ int mnt_fs_streq_srcpath(struct libmnt_fs *fs, const char *path) * @tb: table that contains @fs * * Returns: 0 or negative number on error (if @fs or @tb is NULL). + * + * Since: 2.34 */ int mnt_fs_get_table(struct libmnt_fs *fs, struct libmnt_table **tb) { diff --git a/libmount/src/tab.c b/libmount/src/tab.c index 6d2fdc0d5..ff1997e83 100644 --- a/libmount/src/tab.c +++ b/libmount/src/tab.c @@ -403,6 +403,8 @@ struct libmnt_cache *mnt_table_get_cache(struct libmnt_table *tb) * Checks if @fs is part of table @tb. * * Returns: index of @fs in table, 0 if not found or negative number in case of error. + * + * Since: 2.34 */ int mnt_table_find_fs(struct libmnt_table *tb, struct libmnt_fs *fs) { @@ -491,6 +493,8 @@ static int __table_insert_fs( * referenced by the table only. * * Returns: 0 on success or negative number in case of error. + * + * Since: 2.34 */ int mnt_table_insert_fs(struct libmnt_table *tb, int before, struct libmnt_fs *pos, struct libmnt_fs *fs) @@ -523,6 +527,8 @@ int mnt_table_insert_fs(struct libmnt_table *tb, int before, * The reference counter of @fs is not modified. * * Returns: 0 on success or negative number in case of error. + * + * Since: 2.34 */ int mnt_table_move_fs(struct libmnt_table *src, struct libmnt_table *dst, int before, struct libmnt_fs *pos, struct libmnt_fs *fs) diff --git a/libmount/src/utils.c b/libmount/src/utils.c index df8846b4b..09403de88 100644 --- a/libmount/src/utils.c +++ b/libmount/src/utils.c @@ -1060,6 +1060,8 @@ char *mnt_get_kernel_cmdline_option(const char *name) * The function uses /sys to convert devno to device name. * * Returns: 0 = success, 1 = not found, <0 = error + * + * Since: 2.34 */ int mnt_guess_system_root(dev_t devno, struct libmnt_cache *cache, char **path) { -- cgit v1.2.3-55-g7522