Date: Sun, 5 Dec 2004 22:30:29 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys vnode.h src/sys/gnu/ext2fs ext2_vnops.c src/sys/nfsclient nfs_vnops.c src/sys/ufs/ufs ufs_vnops.c Message-ID: <200412052230.iB5MUTZs021927@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2004-12-05 22:30:29 UTC FreeBSD src repository Modified files: sys/sys vnode.h sys/gnu/ext2fs ext2_vnops.c sys/nfsclient nfs_vnops.c sys/ufs/ufs ufs_vnops.c Log: Fix null-pointer indirect function calls introduced in the previous commit. In the new world order, the transitive closure on the vector operations is not precomputed. As such, it's unsafe to actually use any of the function pointers in an indirect function call. They can be null, and we need to use the default vector in that case. This is mostly a quick fix for the four function pointers that are ed explicitly. A more generic or scalable solution is likely to see the light of day. No pathos on: current@ Revision Changes Path 1.93 +4 -4 src/sys/gnu/ext2fs/ext2_vnops.c 1.233 +3 -3 src/sys/nfsclient/nfs_vnops.c 1.259 +39 -0 src/sys/sys/vnode.h 1.253 +4 -4 src/sys/ufs/ufs/ufs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412052230.iB5MUTZs021927>