From: Karel Zak Date: Tue, 23 May 2017 11:32:45 +0000 (+0200) Subject: libmount: (docs) add missing 'since' tags X-Git-Tag: v2.30~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a81b1946a17997ddebb861fecff19562ada763c2;p=thirdparty%2Futil-linux.git libmount: (docs) add missing 'since' tags Signed-off-by: Karel Zak --- diff --git a/libmount/docs/libmount-docs.xml b/libmount/docs/libmount-docs.xml index 1859bb18ea..1cf5577130 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/. Index of new symbols in 2.28 + + Index of new symbols in 2.29 + + + + + Index of new symbols in 2.30 + + diff --git a/libmount/src/context.c b/libmount/src/context.c index 38e036330c..3620f65254 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 1c4ba1aab7..92e9a17623 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)