patch-2.3.1 linux/fs/hfs/dir_nat.c
Next file: linux/fs/hfs/file_hdr.c
Previous file: linux/fs/hfs/dir_dbl.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/hfs/dir_nat.c
- Orig date:
Fri Apr 23 21:20:37 1999
diff -u --recursive --new-file v2.3.0/linux/fs/hfs/dir_nat.c linux/fs/hfs/dir_nat.c
@@ -89,7 +89,7 @@
NULL, /* symlink */
hfs_mkdir, /* mkdir */
nat_rmdir, /* rmdir */
- hfs_mknod, /* mknod */
+ NULL, /* mknod */
hfs_rename, /* rename */
NULL, /* readlink */
NULL, /* follow_link */
@@ -224,10 +224,6 @@
struct hfs_brec brec;
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);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)