* 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
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 @@
int doit = 0;
if (isdir) {
- dirs++;
dirc = '/';
- doit = 1;
+ if (s_name[0] != 0) {
+ dirs++;
+ doit = 1;
+ }
} else {
dirc = ' ';
if (s_name[0] != 0) {