From c92a19002c85ce2edbb2259d0968d732c9920606 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 26 Aug 2022 09:24:50 +0200 Subject: [PATCH] libmount: (docs) mark mnt_optstr_apply_flags() as deprecated Signed-off-by: Karel Zak --- libmount/src/optstr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libmount/src/optstr.c b/libmount/src/optstr.c index 819d1b7c3f..0392fe5e8a 100644 --- a/libmount/src/optstr.c +++ b/libmount/src/optstr.c @@ -648,6 +648,8 @@ int mnt_optstr_get_flags(const char *optstr, unsigned long *flags, * MS_NOATIME and "foo,bar,noexec" --returns-> "foo,bar,noatime" * * Returns: 0 on success or negative number in case of error. + * + * Deprecated: since v2.39. */ int mnt_optstr_apply_flags(char **optstr, unsigned long flags, const struct libmnt_optmap *map) -- 2.47.3