patch-1.3.4 linux/fs/msdos/dir.c

Next file: linux/fs/msdos/file.c
Previous file: linux/fs/minix/symlink.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.3/linux/fs/msdos/dir.c linux/fs/msdos/dir.c
@@ -89,7 +89,8 @@
 		return -ENOENT;
 	bh = NULL;
 	while ((ino = msdos_get_entry(inode,&filp->f_pos,&bh,&de)) > -1) {
-		if (!IS_FREE(de->name) && !(de->attr & ATTR_VOLUME)) {
+		if (!IS_FREE(de->name)
+			&& !(de->attr & (ATTR_VOLUME|ATTR_SYS|ATTR_HIDDEN))) {
 			char bufname[12];
 			char *ptname = bufname;
 			for (i = last = 0; i < 8; i++) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this