summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmount/src/context.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libmount/src/context.c b/libmount/src/context.c
index 8928a7d96..da315a1d2 100644
--- a/libmount/src/context.c
+++ b/libmount/src/context.c
@@ -113,13 +113,14 @@ void mnt_free_context(struct libmnt_context *cxt)
* Resets all information in the context that is directly related to
* the latest mount (spec, source, target, mount options, ...).
*
- * The match patterns, cached fstab, cached canonicalized paths and tags and
- * [e]uid are not reset. You have to use
+ * The match patterns, target namespace, cached fstab, cached canonicalized
+ * paths and tags and [e]uid are not reset. You have to use
*
* mnt_context_set_fstab(cxt, NULL);
* mnt_context_set_cache(cxt, NULL);
* mnt_context_set_fstype_pattern(cxt, NULL);
* mnt_context_set_options_pattern(cxt, NULL);
+ * mnt_context_set_target_ns(cxt, NULL);
*
*
* to reset this stuff.