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

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)