--- src/sys/kern/vfs_vnops.c 2006/06/13 08:12:03 1.41 +++ src/sys/kern/vfs_vnops.c 2006/08/02 01:25:25 1.42 @@ -71,17 +71,25 @@ static int svn_write (struct file *fp, s struct ucred *cred, int flags); struct fileops vnode_fileops = { - NULL, /* port */ - NULL, /* clone */ - vn_read, vn_write, vn_ioctl, vn_poll, vn_kqfilter, - vn_statfile, vn_closefile, nofo_shutdown + .fo_read = vn_read, + .fo_write = vn_write, + .fo_ioctl = vn_ioctl, + .fo_poll = vn_poll, + .fo_kqfilter = vn_kqfilter, + .fo_stat = vn_statfile, + .fo_close = vn_closefile, + .fo_shutdown = nofo_shutdown }; struct fileops specvnode_fileops = { - NULL, /* port */ - NULL, /* clone */ - svn_read, svn_write, vn_ioctl, vn_poll, vn_kqfilter, - vn_statfile, vn_closefile, nofo_shutdown + .fo_read = svn_read, + .fo_write = svn_write, + .fo_ioctl = vn_ioctl, + .fo_poll = vn_poll, + .fo_kqfilter = vn_kqfilter, + .fo_stat = vn_statfile, + .fo_close = vn_closefile, + .fo_shutdown = nofo_shutdown }; /*