patch-2.3.1 linux/fs/hfs/dir_cap.c
Next file: linux/fs/hfs/dir_dbl.c
Previous file: linux/fs/hfs/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/hfs/dir_cap.c
- Orig date:
Fri Apr 23 21:20:37 1999
diff -u --recursive --new-file v2.3.0/linux/fs/hfs/dir_cap.c linux/fs/hfs/dir_cap.c
@@ -83,7 +83,7 @@
NULL, /* symlink */
hfs_mkdir, /* mkdir */
hfs_rmdir, /* rmdir */
- hfs_mknod, /* mknod */
+ NULL, /* mknod */
hfs_rename, /* rename */
NULL, /* readlink */
NULL, /* follow_link */
@@ -236,10 +236,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)