From a43278a43d522fba7fea0ed3045b718a9c8d22ac Mon Sep 17 00:00:00 2001 From: wdenk Date: Thu, 11 Sep 2003 19:48:06 +0000 Subject: * Patch by Gary Jennejohn, 11 Sep 2003: - allow for longer timeouts for USB mass storage devices * Patch by Denis Peter, 11 Sep 2003: - fix USB data pointer assignment for bulk only transfer. - prevent to display erased directories in FAT filesystem. * Change output format for NAND flash - make it look like for other memory, too --- fs/fat/fat.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'fs/fat/fat.c') diff --git a/fs/fat/fat.c b/fs/fat/fat.c index 6a6c5be016..972ef33d03 100644 --- a/fs/fat/fat.c +++ b/fs/fat/fat.c @@ -860,9 +860,11 @@ do_fat_read (const char *filename, void *buffer, unsigned long maxsize, int doit = 0; if (isdir) { - dirs++; dirc = '/'; - doit = 1; + if (s_name[0] != 0) { + dirs++; + doit = 1; + } } else { dirc = ' '; if (s_name[0] != 0) { -- cgit v1.2.1