summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak2017-05-23 13:32:45 +0200
committerKarel Zak2017-05-23 13:32:45 +0200
commita81b1946a17997ddebb861fecff19562ada763c2 (patch)
treea4e5ac49547b526a97b05e1b3b3efb581aa00fc9
parentlibsmartcols: (docs) add missing 'since' tags (diff)
downloadkernel-qcow2-util-linux-a81b1946a17997ddebb861fecff19562ada763c2.tar.gz
kernel-qcow2-util-linux-a81b1946a17997ddebb861fecff19562ada763c2.tar.xz
kernel-qcow2-util-linux-a81b1946a17997ddebb861fecff19562ada763c2.zip
libmount: (docs) add missing 'since' tags
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--libmount/docs/libmount-docs.xml9
-rw-r--r--libmount/src/context.c8
-rw-r--r--libmount/src/fs.c2
3 files changed, 19 insertions, 0 deletions
diff --git a/libmount/docs/libmount-docs.xml b/libmount/docs/libmount-docs.xml
index 1859bb18e..1cf557713 100644
--- a/libmount/docs/libmount-docs.xml
+++ b/libmount/docs/libmount-docs.xml
@@ -67,4 +67,13 @@ available from https://www.kernel.org/pub/linux/utils/util-linux/.
<title>Index of new symbols in 2.28</title>
<xi:include href="xml/api-index-2.28.xml"><xi:fallback /></xi:include>
</index>
+ <index role="2.29">
+ <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>
</book>
diff --git a/libmount/src/context.c b/libmount/src/context.c
index 38e036330..3620f6525 100644
--- a/libmount/src/context.c
+++ b/libmount/src/context.c
@@ -487,6 +487,8 @@ int mnt_context_is_rdonly_umount(struct libmnt_context *cxt)
* Force read-write mount; if enabled libmount will never try MS_RDONLY
* after failed mount(2) EROFS. (See mount(8) man page, option -w).
*
+ * Since: 2.30
+ *
* Returns: 0 on success, negative number in case of error.
*/
int mnt_context_enable_rwonly_mount(struct libmnt_context *cxt, int enable)
@@ -501,6 +503,8 @@ int mnt_context_enable_rwonly_mount(struct libmnt_context *cxt, int enable)
* See also mnt_context_enable_rwonly_mount() and mount(8) man page,
* option -w.
*
+ * Since: 2.30
+ *
* Returns: 1 if only read-write mount is allowed.
*/
int mnt_context_is_rwonly_mount(struct libmnt_context *cxt)
@@ -514,6 +518,8 @@ int mnt_context_is_rwonly_mount(struct libmnt_context *cxt)
*
* See also mnt_context_enable_rwonly_mount().
*
+ * Since: 2.30
+ *
* Returns: 1 if mounted read-only on write-protected device.
*/
int mnt_context_forced_rdonly(struct libmnt_context *cxt)
@@ -2329,6 +2335,8 @@ int mnt_context_get_generic_excode(int rc, char *buf, size_t bufsz, char *fmt, .
* The @mntrc is usually return code from mnt_context_mount(),
* mnt_context_umount(), or 'mntrc' as returned by mnt_context_next_mount().
*
+ * Since: 2.30
+ *
* Returns: MNT_EX_* codes.
*/
int mnt_context_get_excode(
diff --git a/libmount/src/fs.c b/libmount/src/fs.c
index 1c4ba1aab..92e9a1762 100644
--- a/libmount/src/fs.c
+++ b/libmount/src/fs.c
@@ -1133,6 +1133,8 @@ int mnt_fs_get_priority(struct libmnt_fs *fs)
* @fs: /proc/swaps entry
* @prio: priority
*
+ * Since: 2.28
+ *
* Returns: 0 or -1 in case of error
*/
int mnt_fs_set_priority(struct libmnt_fs *fs, int prio)