patch-2.3.51 linux/fs/coda/dir.c

Next file: linux/fs/coda/inode.c
Previous file: linux/fs/buffer.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.50/linux/fs/coda/dir.c linux/fs/coda/dir.c
@@ -451,7 +451,7 @@
 
         dircnp = ITOC(dir);
 
-	if (!list_empty(&de->d_hash))
+	if (!d_unhashed(de))
 		return -EBUSY;
 	error = venus_rmdir(dir->i_sb, &(dircnp->c_fid), name, len);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)