patch-2.3.99-pre6 linux/fs/qnx4/namei.c

Next file: linux/fs/ramfs/inode.c
Previous file: linux/fs/qnx4/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/fs/qnx4/namei.c linux/fs/qnx4/namei.c
@@ -171,10 +171,6 @@
 		goto end_rmdir;
 	}
 #endif
-	if (!d_unhashed(dentry)) {
-		retval = -EBUSY;
-		goto end_rmdir;
-	}
 	if (inode->i_nlink != 2) {
 		QNX4DEBUG(("empty directory has nlink!=2 (%d)\n", inode->i_nlink));
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)