]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: note namespaces in mnt_reset_context() docs
authorVaclav Dolezal <vdolezal@redhat.com>
Tue, 20 Mar 2018 13:46:18 +0000 (14:46 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 11 Jun 2018 13:50:29 +0000 (15:50 +0200)
Signed-off-by: Vaclav Dolezal <vdolezal@redhat.com>
libmount/src/context.c

index 8928a7d96052b3dc63844b4514b2b074f0577385..da315a1d26d1025ec66ebbe4e1c60a8a310dc44f 100644 (file)
@@ -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.