Changeset 24607
- Timestamp:
- 03/27/08 05:48:33 (8 months ago)
- Files:
-
- 1 modified
-
haiku/trunk/src/system/kernel/fs/vfs.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
haiku/trunk/src/system/kernel/fs/vfs.cpp
r24442 r24607 692 692 vnode->ref_count = 2; 693 693 694 // The file system has removed the resources of the vnode now, so we can695 // make it available again (and remove the busy vnode from the hash)696 mutex_lock(&sVnodeMutex);697 hash_remove(sVnodeTable, vnode);698 mutex_unlock(&sVnodeMutex);699 700 694 // TODO: Usually, when the vnode is unreferenced, no one can get hold of the 701 695 // cache either (i.e. no one can get a cache reference while we're deleting … … 713 707 } 714 708 } 709 710 // The file system has removed the resources of the vnode now, so we can 711 // make it available again (and remove the busy vnode from the hash) 712 mutex_lock(&sVnodeMutex); 713 hash_remove(sVnodeTable, vnode); 714 mutex_unlock(&sVnodeMutex); 715 715 716 716 // if we have a vm_cache attached, remove it
