summaryrefslogtreecommitdiffstats
path: root/libmount
diff options
context:
space:
mode:
authorVaclav Dolezal2018-03-20 14:46:18 +0100
committerKarel Zak2018-06-11 15:50:29 +0200
commit5cbf01b75d0dc6736a3ea1c8c93bfedaf85b0c61 (patch)
tree96d7d26eab625e03a40630c1d69076f530bbebac /libmount
parentlibmount: add support for switching namespaces (diff)
downloadkernel-qcow2-util-linux-5cbf01b75d0dc6736a3ea1c8c93bfedaf85b0c61.tar.gz
kernel-qcow2-util-linux-5cbf01b75d0dc6736a3ea1c8c93bfedaf85b0c61.tar.xz
kernel-qcow2-util-linux-5cbf01b75d0dc6736a3ea1c8c93bfedaf85b0c61.zip
libmount: note namespaces in mnt_reset_context() docs
Signed-off-by: Vaclav Dolezal <vdolezal@redhat.com>
Diffstat (limited to 'libmount')
-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.