patch-2.1.131 linux/fs/hfs/dir.c
Next file: linux/fs/minix/namei.c
Previous file: linux/fs/ext2/namei.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Dec 1 22:52:06 1998
- Orig file:
v2.1.130/linux/fs/hfs/dir.c
- Orig date:
Sun Nov 8 14:03:06 1998
diff -u --recursive --new-file v2.1.130/linux/fs/hfs/dir.c linux/fs/hfs/dir.c
@@ -352,7 +352,7 @@
goto hfs_rmdir_put;
error = -EBUSY;
- if (dentry->d_count > 1)
+ if (!list_empty(&dentry->d_hash))
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, slshen@lbl.gov