patch-2.4.0-test11 linux/fs/efs/dir.c
Next file: linux/fs/efs/symlink.c
Previous file: linux/fs/dquot.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Fri Nov 17 11:36:27 2000
- Orig file:
v2.4.0-test10/linux/fs/efs/dir.c
- Orig date:
Fri Aug 11 14:29:02 2000
diff -u --recursive --new-file v2.4.0-test10/linux/fs/efs/dir.c linux/fs/efs/dir.c
@@ -28,9 +28,6 @@
int slot, namelen;
char *nameptr;
- if (!inode || !S_ISDIR(inode->i_mode))
- return -EBADF;
-
if (inode->i_size & (EFS_DIRBSIZE-1))
printk(KERN_WARNING "EFS: WARNING: readdir(): directory size not a multiple of EFS_DIRBSIZE\n");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)