patch-2.2.10 linux/fs/hfs/dir_nat.c
Next file: linux/fs/minix/namei.c
Previous file: linux/fs/hfs/dir_dbl.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Thu May 13 23:25:58 1999
- Orig file:
v2.2.9/linux/fs/hfs/dir_nat.c
- Orig date:
Wed Apr 28 11:37:31 1999
diff -u --recursive --new-file v2.2.9/linux/fs/hfs/dir_nat.c linux/fs/hfs/dir_nat.c
@@ -225,10 +225,6 @@
struct hfs_cat_entry *entry;
struct inode *dir = filp->f_dentry->d_inode;
- if (!dir || !dir->i_sb || !S_ISDIR(dir->i_mode)) {
- return -EBADF;
- }
-
entry = HFS_I(dir)->entry;
type = HFS_ITYPE(dir->i_ino);
skip_dirs = (type == HFS_NAT_HDIR);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)