]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: cleanup comments
authorKarel Zak <kzak@redhat.com>
Tue, 27 Aug 2024 09:14:01 +0000 (11:14 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 27 Aug 2024 09:14:01 +0000 (11:14 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/context.c
libmount/src/context_umount.c

index d38e3671f6fadb1391a8d11b0dd7b02377a4599a..a9cb4ef26cbeff3f23cf5a82c66a715f9e75c477 100644 (file)
@@ -1146,8 +1146,8 @@ fail:
  * @cxt: mount context
  * @optstr: comma delimited mount options
  *
- * Note that MS_MOVE cannot be specified as "string". It's operation that
- * is no supported in fstab (etc.)
+ * Please note that MS_MOVE cannot be specified as a "string". The move operation
+ * cannot be specified in fstab.
  *
  * Returns: 0 on success, negative number in case of error.
  */
index c22ffbd80bbc2d016e5e5c5c95701edb00058f36..499cc43acd2d9f5c2739cb3e786f9649e8d62868 100644 (file)
@@ -347,13 +347,12 @@ static int lookup_umount_fs_by_mountinfo(struct libmnt_context *cxt, const char
        return 0;
 }
 
-/* This function searches for FS according to cxt->fs->target,
- * apply result to cxt->fs and it's umount replacement to
- * mnt_context_apply_fstab(), use mnt_context_tab_applied()
- * to check result.
+/*
+ * This function searches for the file system according to cxt->fs->target and
+ * applies the result to cxt->fs. This function is a umount replacement for
+ * mnt_context_apply_fstab(). Use mnt_context_tab_applied() to check the result.
  *
- * The goal is to minimize situations when we need to parse
- * /proc/self/mountinfo.
+ * The goal is to minimize situations when we need to parse /proc/self/mountinfo.
  */
 static int lookup_umount_fs(struct libmnt_context *cxt)
 {