From: Masatake YAMATO Date: Tue, 23 May 2023 15:49:24 +0000 (+0900) Subject: lsfd: write more about nsfs in comment X-Git-Tag: v2.40-rc1~432^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d28914938538b887f1a3e9b6c4d85277af462b1a;p=thirdparty%2Futil-linux.git lsfd: write more about nsfs in comment Signed-off-by: Masatake YAMATO --- diff --git a/misc-utils/lsfd.c b/misc-utils/lsfd.c index 1b5f6d747d..14e89679d8 100644 --- a/misc-utils/lsfd.c +++ b/misc-utils/lsfd.c @@ -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;