]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsfd: write more about nsfs in comment
authorMasatake YAMATO <yamato@redhat.com>
Tue, 23 May 2023 15:49:24 +0000 (00:49 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Tue, 23 May 2023 15:49:47 +0000 (00:49 +0900)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
misc-utils/lsfd.c

index 1b5f6d747d15e540fde547271f61ac5783c842a2..14e89679d88c58c925660b9fee3894eea6242f8a 100644 (file)
@@ -742,9 +742,10 @@ static struct file *collect_file_symlink(struct path_cxt *pc,
 
                class = stat2class(&sb);
                if (sockets_only
-                   /* A nsfs is not a socket but the nsfs can be used to
-                    * collect information from other network namespaces.
-                    * Besed on the information, various columns of sockets.
+                   /* A nsfs file is not a socket but the nsfs file can
+                    * be used as a entry point to collect information from
+                    * other network namespaces. Besed on the information,
+                    * various columns of sockets can be filled.
                     */
                    && (class != &sock_class)&& (class != &nsfs_file_class))
                        return NULL;