summaryrefslogtreecommitdiffstats
path: root/fs/kernfs
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2020-10-15 14:57:26 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-09 18:12:39 +0100
commit21774fd81a51ec1eccd59caf922d387977acd2aa (patch)
tree1afe52024a97091d89d00723fc730e0e66660484 /fs/kernfs
parentf8394f232b1eab649ce2df5c5f15b0e528c92091 (diff)
downloadlinux-21774fd81a51ec1eccd59caf922d387977acd2aa.tar.bz2
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 <tj@kernel.org> Signed-off-by: Willem de Bruijn <willemb@google.com> Link: https://lore.kernel.org/r/20201015185726.1386868-1-willemdebruijn.kernel@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/kernfs')
-rw-r--r--fs/kernfs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/kernfs/dir.c b/fs/kernfs/dir.c
index 9aec80b9d7c6..ea3c95125bf1 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;