diff options
author | wdenk <wdenk> | 2003-09-11 19:48:06 (GMT) |
---|---|---|
committer | wdenk <wdenk> | 2003-09-11 19:48:06 (GMT) |
commit | a43278a43d522fba7fea0ed3045b718a9c8d22ac (patch) | |
tree | c21920a271992ce76e5e679c3e3e8bb11054d356 /fs/fat/fat.c | |
parent | 7205e4075d8b50e4dd89fe39ed03860b23cbb704 (diff) | |
download | u-boot-a43278a43d522fba7fea0ed3045b718a9c8d22ac.tar.xz |
* 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
Diffstat (limited to 'fs/fat/fat.c')
-rw-r--r-- | fs/fat/fat.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/fat/fat.c b/fs/fat/fat.c index 6a6c5be..972ef33d 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) { |