patch-2.2.7 linux/fs/minix/dir.c
Next file: linux/fs/minix/inode.c
Previous file: linux/fs/isofs/namei.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Apr 23 21:20:38 1999
- Orig file:
v2.2.6/linux/fs/minix/dir.c
- Orig date:
Thu Nov 12 16:21:22 1998
diff -u --recursive --new-file v2.2.6/linux/fs/minix/dir.c linux/fs/minix/dir.c
@@ -68,8 +68,6 @@
struct minix_sb_info * info;
struct inode *inode = filp->f_dentry->d_inode;
- if (!inode || !inode->i_sb || !S_ISDIR(inode->i_mode))
- return -EBADF;
info = &inode->i_sb->u.minix_sb;
if (filp->f_pos & (info->s_dirsize - 1))
return -EBADF;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)