>*laugh* no actually - missed that... then why are we keeping a copy of
>struct inode then if such a hook exists, couldn't we accomplish everything
>just by attaching something to the hook?

actually the problem could be fixed w/o the hook.  you would just typedef
struct inode vnode and then use that everywhere.  however, quite a bit
of the code says 'struct vnode *foo' which you would need to rewrite
vnode *foo.   this means you need to change all the other ports to have
the same vnode typdef.  you cant typedef 'struct inode' into 'struct vnode'. 
i mean to do this sometime.  it might be better to just typedef struct vnode
into something like osi_inode and use osi_inode instead.  just a thought.
it should be mostly the right idea but i sometimes get confused.
_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo.cgi/openafs-devel

Reply via email to