diff options
author | Mihir Mehta <mihir@cs.utexas.edu> | 2018-10-30 18:06:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-10-31 11:54:14 -0400 |
commit | eceb8902be2910be296f00ad6662941d79c09f8e (patch) | |
tree | e13949bd7c82c3840c8eed00d51ff0e86140728a /fs/fat | |
parent | 21bfc8309cca566b76fc0c1d65c598e62f8971a1 (diff) |
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>
Diffstat (limited to 'fs/fat')
-rw-r--r-- | fs/fat/dir.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/fat/dir.c b/fs/fat/dir.c index 7f5f3699fc6c..ce5f958f6b23 100644 --- a/fs/fat/dir.c +++ b/fs/fat/dir.c | |||
@@ -369,7 +369,9 @@ static int fat_parse_short(struct super_block *sb, | |||
369 | } | 369 | } |
370 | 370 | ||
371 | memcpy(work, de->name, sizeof(work)); | 371 | 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 | */ | ||
373 | if (work[0] == 0x05) | 375 | if (work[0] == 0x05) |
374 | work[0] = 0xE5; | 376 | work[0] = 0xE5; |
375 | 377 | ||