patch-2.3.51 linux/fs/hfs/dir.c
Next file: linux/fs/hfs/super.c
Previous file: linux/fs/filesystems.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/hfs/dir.c
-  Orig date: 
Sat Feb 26 22:31:52 2000
diff -u --recursive --new-file v2.3.50/linux/fs/hfs/dir.c linux/fs/hfs/dir.c
@@ -311,7 +311,7 @@
 		goto hfs_rmdir_put;
 
 	error = -EBUSY;
-	if (!list_empty(&dentry->d_hash))
+	if (!d_unhashed(dentry))
 		goto hfs_rmdir_put;
 
 	if (/* we only have to worry about 2 and 3 for mount points */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)