fat: expand a slightly out-of-date comment
authorMihir Mehta <mihir@cs.utexas.edu>
Tue, 30 Oct 2018 22:06:46 +0000 (15:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 31 Oct 2018 15:54:14 +0000 (08:54 -0700)
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>
fs/fat/dir.c

index 7f5f3699fc6c086cb169c0f0dd9782971408480f..ce5f958f6b237550a387626b693f3cf2d909d1f8 100644 (file)
@@ -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;