patch-2.3.51 linux/fs/qnx4/namei.c
Next file: linux/fs/romfs/inode.c
Previous file: linux/fs/qnx4/inode.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Wed Mar  8 09:04:09 2000
-  Orig file: 
v2.3.50/linux/fs/qnx4/namei.c
-  Orig date: 
Sat Feb 12 11:22:11 2000
diff -u --recursive --new-file v2.3.50/linux/fs/qnx4/namei.c linux/fs/qnx4/namei.c
@@ -171,7 +171,7 @@
 		goto end_rmdir;
 	}
 #endif
-	if (!list_empty(&dentry->d_hash)) {
+	if (!d_unhashed(dentry)) {
 		retval = -EBUSY;
 		goto end_rmdir;
 	}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)