看板 DFBSD_submit 關於我們 聯絡資訊
:They're in my todo list. :-) : :I think there's a bug in the patch I emailed: Shouldn't I vget() the :vnode of the fd passed to openat() to prevent races? No, I don't think you need to. The call to holdvnode() refs the fp and that prevents fp->f_nchandle from being ripped out from under you. You aren't actually using the vnode pointer. The nlookup code does via the nchandle, but it handles its own refs. -Matt Matthew Dillon <dillon@backplane.com>