patch-2.1.132 linux/fs/smbfs/dir.c

Next file: linux/fs/sysv/CHANGES
Previous file: linux/fs/qnx4/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.131/linux/fs/smbfs/dir.c linux/fs/smbfs/dir.c
@@ -469,10 +469,6 @@
 	struct inode *inode = dentry->d_inode;
 	int error;
 
-	error = -ENOTDIR;
-	if (!S_ISDIR(inode->i_mode))
-		goto out;
-
 	/*
 	 * Close the directory if it's open.
 	 */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov