patch-2.3.1 linux/fs/autofs/root.c
Next file: linux/fs/autofs/waitq.c
Previous file: linux/fs/autofs/dir.c
Back to the patch index
Back to the overall index
-  Lines: 10
 -  Date:
Thu May 13 10:53:59 1999
 -  Orig file: 
v2.3.0/linux/fs/autofs/root.c
 -  Orig date: 
Sat May  8 17:56:37 1999
 
diff -u --recursive --new-file v2.3.0/linux/fs/autofs/root.c linux/fs/autofs/root.c
@@ -72,9 +72,6 @@
 	struct inode * inode = filp->f_dentry->d_inode;
 	off_t onr, nr;
 
-	if (!inode || !S_ISDIR(inode->i_mode))
-		return -ENOTDIR;
-
 	sbi = autofs_sbi(inode->i_sb);
 	dirhash = &sbi->dirhash;
 	nr = filp->f_pos;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)