Question about the vfs_rootvnode when calling VFS_UNMOUNT
Question about the vfs_rootvnode when calling VFS_UNMOUNT
- Subject: Question about the vfs_rootvnode when calling VFS_UNMOUNT
- From: Alain Renaud <email@hidden>
- Date: Thu, 17 Dec 2009 21:18:44 +0100
Hello all,
I am working on a filesystem implementation for macosx that is working
fine with macosx 10.5 now for the 10.6 port I have an issue as I cannot
seem to release the mountpoint vnode.
My problem is that with 10.6 when VFS_UNMOUNT is called my vfs rootvnode
as the usecount and kusecount set to 1 which prevent me from releasing
this vnode. The same code with 10.5 the usecount/kusecount are set to 0
so I am then able to release the vnode and delete all reference to the
filesystem before returning to the dounmount code.
The Question: Is this an expected new behavior with the 10.6 kernel or
do I have a bug elsewhere in the code that increase the
usecount/kusecount without reducing it after.
Hope this make sense and thanks in advance for any help.
--
Alain Renaud --
----------------------------------------
Always willing to share my ignorance...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden