]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: (docs) add missing 'since' tags
authorKarel Zak <kzak@redhat.com>
Tue, 23 May 2017 11:32:45 +0000 (13:32 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 23 May 2017 11:32:45 +0000 (13:32 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/docs/libmount-docs.xml
libmount/src/context.c
libmount/src/fs.c

index 1859bb18eac83639854e77c11c835bd060b08e44..1cf5577130ce51b603d4fa8d39e2cbe7dc4c2e17 100644 (file)
@@ -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>
index 38e036330cc43bff337da7f34cce874fde747fe0..3620f652542a0666ff3b3ee8ff01360e50ba730a 100644 (file)
@@ -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(
index 1c4ba1aab78770c67b093d0f6fb871607c7b3b37..92e9a17623e60969656f1861d1f8e05efde74175 100644 (file)
@@ -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)