patch-2.3.1 linux/fs/adfs/namei.c
Next file: linux/fs/autofs/autofs_i.h
Previous file: linux/fs/adfs/dir.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Thu May 13 10:53:59 1999
- Orig file:
v2.3.0/linux/fs/adfs/namei.c
- Orig date:
Mon May 10 14:14:28 1999
diff -u --recursive --new-file v2.3.0/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)