summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak2019-06-07 12:37:28 +0200
committerKarel Zak2019-06-07 12:37:28 +0200
commit2089538adb1116d59be797f663bba059a5236b8a (patch)
treed1efd53d700368f2e1bc7442e60694926bcf1f09
parentlibsmartcols: (docs) add reference to v2.33 and v2.34 (diff)
downloadkernel-qcow2-util-linux-2089538adb1116d59be797f663bba059a5236b8a.tar.gz
kernel-qcow2-util-linux-2089538adb1116d59be797f663bba059a5236b8a.tar.xz
kernel-qcow2-util-linux-2089538adb1116d59be797f663bba059a5236b8a.zip
libmount: (docs) add reference to v2.33 and v2.34
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--libmount/docs/libmount-docs.xml9
-rw-r--r--libmount/src/context_mount.c2
-rw-r--r--libmount/src/fs.c2
-rw-r--r--libmount/src/tab.c6
-rw-r--r--libmount/src/utils.c2
5 files changed, 20 insertions, 1 deletions
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/.
<title>Index of new symbols in 2.29</title>
<xi:include href="xml/api-index-2.29.xml"><xi:fallback /></xi:include>
</index>
-
<index role="2.30">
<title>Index of new symbols in 2.30</title>
<xi:include href="xml/api-index-2.30.xml"><xi:fallback /></xi:include>
</index>
+ <index role="2.33">
+ <title>Index of new symbols in 2.33</title>
+ <xi:include href="xml/api-index-2.33.xml"><xi:fallback /></xi:include>
+ </index>
+ <index role="2.34">
+ <title>Index of new symbols in 2.34</title>
+ <xi:include href="xml/api-index-2.34.xml"><xi:fallback /></xi:include>
+ </index>
</book>
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)
{