On Fri, Jun 29, 2001 at 01:34:19PM +0100, Doug Rabson wrote:
> 
> When you get a new struct file from falloc(), VFS has nothing to do with
> it. As you can see from the streamsopen() code, you can change f_ops
> (which by default points at &badfileops) and f_data (defaults to zero) to
> point at your own functions and data.
> 
> The point is that you are creating a new file. The VFS-owned file which
> ended up calling the open driver entrypoint will be discarded in favour of
> your new one.

But, what about all the locking stuff in vn_xxxx()? How can I know if
I actually need them?

Nicholas

-- 
Alcôve Technical Manager - [EMAIL PROTECTED] - http://www.alcove.com
Open Source Software Developer - [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to