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

Marcel Moolenaar marcel at FreeBSD.org
Sun Dec 5 14:30:29 PST 2004


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


More information about the cvs-all mailing list