cvs commit: src/sys/kern vfs_init.c

Matthew Dillon dillon at
Sun Mar 14 22:10:59 PST 2004

dillon      2004/03/14 22:10:51 PST

DragonFly src repository

  Modified files:
    sys/kern             vfs_init.c 
  Do not free the old VFS vector when recomputing the vectors.  If a module
  is loaded which causes the vectors to recompute, the v_op on existing
  vnodes can wind up pointing to freed memory.  This fix does cause a memory
  leak, and is a hack, but it's better then crashing.
  Taken-from: FreeBSD-5
  Revision  Changes    Path
  1.3       +5 -1      src/sys/kern/vfs_init.c

More information about the Commits mailing list