patch-2.2.10 linux/fs/adfs/namei.c
Next file: linux/fs/autofs/dir.c
Previous file: linux/fs/adfs/dir.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Thu May 13 23:25:58 1999
- Orig file:
v2.2.9/linux/fs/adfs/namei.c
- Orig date:
Tue May 11 13:10:30 1999
diff -u --recursive --new-file v2.2.9/linux/fs/adfs/namei.c linux/fs/adfs/namei.c
@@ -46,9 +46,6 @@
unsigned long parent_object_id, dir_object_id;
int buffers, pos;
- if (!S_ISDIR(dir->i_mode))
- return 0;
-
sb = dir->i_sb;
if (adfs_inode_validate (dir)) {
@@ -56,9 +53,6 @@
"invalid inode number: %lu", dir->i_ino);
return 0;
}
-
- if (namelen > ADFS_NAME_LEN)
- return 0;
if (!(buffers = adfs_dir_read (dir, bh))) {
adfs_error (sb, "adfs_find_entry", "unable to read directory");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)