patch-2.2.10 linux/fs/autofs/dir.c
Next file: linux/fs/autofs/root.c
Previous file: linux/fs/adfs/namei.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Thu May 13 23:25:58 1999
-  Orig file: 
v2.2.9/linux/fs/autofs/dir.c
-  Orig date: 
Wed Apr 28 11:37:30 1999
diff -u --recursive --new-file v2.2.9/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)