From: Willem de Bruijn Date: Thu, 15 Oct 2020 18:57:26 +0000 (-0400) Subject: kernfs: bring names in comments in line with code X-Git-Tag: v5.15~2218^2~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=21774fd81a51ec1eccd59caf922d387977acd2aa;p=platform%2Fkernel%2Flinux-starfive.git kernfs: bring names in comments in line with code Fix two stragglers in the comments of the below rename operation. Fixes: adc5e8b58f48 ("kernfs: drop s_ prefix from kernfs_node members") Acked-by: Tejun Heo Signed-off-by: Willem de Bruijn Link: https://lore.kernel.org/r/20201015185726.1386868-1-willemdebruijn.kernel@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/fs/kernfs/dir.c b/fs/kernfs/dir.c index 9aec80b..ea3c951 100644 --- a/fs/kernfs/dir.c +++ b/fs/kernfs/dir.c @@ -1599,7 +1599,7 @@ int kernfs_rename_ns(struct kernfs_node *kn, struct kernfs_node *new_parent, return error; } -/* Relationship between s_mode and the DT_xxx types */ +/* Relationship between mode and the DT_xxx types */ static inline unsigned char dt_type(struct kernfs_node *kn) { return (kn->mode >> 12) & 15; diff --git a/include/linux/kernfs.h b/include/linux/kernfs.h index 89f6a42..9e8ca87 100644 --- a/include/linux/kernfs.h +++ b/include/linux/kernfs.h @@ -116,7 +116,7 @@ struct kernfs_elem_attr { * kernfs node is represented by single kernfs_node. Most fields are * private to kernfs and shouldn't be accessed directly by kernfs users. * - * As long as s_count reference is held, the kernfs_node itself is + * As long as count reference is held, the kernfs_node itself is * accessible. Dereferencing elem or any other outer entity requires * active reference. */