Re: cvs commit: src/sys/sys vnode.h src/sys/vfs/coda coda_vnops.

看板DFBSD_commit作者時間21年前 (2005/02/18 21:36), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
On Tue, Feb 15, 2005 at 12:32:19AM -0800, Joerg Sonnenberger wrote: > Introduce vnodepv_entry_t as type for the vnodeopv_entry functions. > This is slightly better than casting all the functions to void *, > which is a data pointer. I have discussed this with Matt. I'm not sure wether changing all the functions to match the generic vnodeopv_entry_t is better or not. It would follow the example of the callout interface where the void * argument is casted to the correct local type or in this case the correct entry of the union is used. This would allow us to integrate some kind of assertion checking though. Joerg
文章代碼(AID): #125UzV00 (DFBSD_commit)