patch-2.3.1 linux/fs/autofs/dir.c
Next file: linux/fs/autofs/root.c
Previous file: linux/fs/autofs/autofs_i.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu May 13 10:53:59 1999
- Orig file:
v2.3.0/linux/fs/autofs/dir.c
- Orig date:
Fri Apr 23 21:20:37 1999
diff -u --recursive --new-file v2.3.0/linux/fs/autofs/dir.c linux/fs/autofs/dir.c
@@ -16,8 +16,6 @@
void *dirent, filldir_t filldir)
{
struct inode *inode=filp->f_dentry->d_inode;
- if (!inode || !S_ISDIR(inode->i_mode))
- return -ENOTDIR;
switch((unsigned long) filp->f_pos)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)