patch-2.4.0-test7 linux/fs/cramfs/inode.c

Next file: linux/fs/dcache.c
Previous file: linux/fs/coda/dir.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test6/linux/fs/cramfs/inode.c linux/fs/cramfs/inode.c
@@ -258,7 +258,7 @@
 				break;
 			namelen--;
 		}
-		error = filldir(dirent, name, namelen, offset, CRAMINO(de));
+		error = filldir(dirent, name, namelen, offset, CRAMINO(de), de->mode >> 12);
 		if (error)
 			break;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)