patch-2.3.51 linux/fs/umsdos/namei.c
Next file: linux/fs/umsdos/rdir.c
Previous file: linux/fs/umsdos/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/umsdos/namei.c
-  Orig date: 
Sun Feb 13 19:29:04 2000
diff -u --recursive --new-file v2.3.50/linux/fs/umsdos/namei.c linux/fs/umsdos/namei.c
@@ -876,7 +876,7 @@
 		goto out;
 
 	ret = -EBUSY;
-	if (!list_empty(&dentry->d_hash))
+	if (!d_unhashed(dentry))
 		goto out;
 
 	/* check whether the EMD is empty */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)