From: Mihir Mehta Date: Tue, 30 Oct 2018 22:06:46 +0000 (-0700) Subject: fat: expand a slightly out-of-date comment X-Git-Tag: v5.15~7679^2~52 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eceb8902be2910be296f00ad6662941d79c09f8e;p=platform%2Fkernel%2Flinux-starfive.git fat: expand a slightly out-of-date comment The file namei.c seems to have been renamed to namei_msdos.c, so I decided to update the comment with the correct name, and expand it a bit to tell the reader what to look for. Link: http://lkml.kernel.org/r/20180928194947.23932-1-mihir@cs.utexas.edu Signed-off-by: Mihir Mehta Acked-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/fat/dir.c b/fs/fat/dir.c index 7f5f369..ce5f958 100644 --- a/fs/fat/dir.c +++ b/fs/fat/dir.c @@ -369,7 +369,9 @@ static int fat_parse_short(struct super_block *sb, } memcpy(work, de->name, sizeof(work)); - /* see namei.c, msdos_format_name */ + /* For an explanation of the special treatment of 0x05 in + * filenames, see msdos_format_name in namei_msdos.c + */ if (work[0] == 0x05) work[0] = 0xE5;