patch-2.3.51 linux/fs/smbfs/dir.c
Next file: linux/fs/smbfs/inode.c
Previous file: linux/fs/romfs/inode.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/smbfs/dir.c
- Orig date:
Tue Mar 7 14:32:26 2000
diff -u --recursive --new-file v2.3.50/linux/fs/smbfs/dir.c linux/fs/smbfs/dir.c
@@ -443,7 +443,7 @@
* Check that nobody else is using the directory..
*/
error = -EBUSY;
- if (!list_empty(&dentry->d_hash))
+ if (!d_unhashed(dentry))
goto out;
smb_invalid_dir_cache(dir);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)