patch-2.3.51 linux/fs/hpfs/namei.c
Next file: linux/fs/hpfs/super.c
Previous file: linux/fs/hpfs/hpfs_fn.h
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/hpfs/namei.c
-  Orig date: 
Sun Feb 13 19:29:04 2000
diff -u --recursive --new-file v2.3.50/linux/fs/hpfs/namei.c linux/fs/hpfs/namei.c
@@ -375,7 +375,7 @@
 		hpfs_unlock_2inodes(dir, inode);
 		return -ENOTDIR;
 	}
-	if (!list_empty(&dentry->d_hash)) {
+	if (!d_unhashed(dentry)) {
 		hpfs_brelse4(&qbh);
 		hpfs_unlock_2inodes(dir, inode);
 		return -EBUSY;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)