Skip to content

Commit eceb890

Browse files
airbornemihirtorvalds
authored andcommitted
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 <mihir@cs.utexas.edu> Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 21bfc83 commit eceb890

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎fs/fat/dir.c‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,9 @@ static int fat_parse_short(struct super_block *sb,
369369
}
370370

371371
memcpy(work, de->name, sizeof(work));
372-
/* see namei.c, msdos_format_name */
372+
/* For an explanation of the special treatment of 0x05 in
373+
* filenames, see msdos_format_name in namei_msdos.c
374+
*/
373375
if (work[0] == 0x05)
374376
work[0] = 0xE5;
375377

0 commit comments

Comments
 (0)