Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 1997 08:40:23 -0800 (PST)
From:      Bruce Evans <bde>
To:        CVS-committers, cvs-all, cvs-sys
Subject:   cvs commit:  src/sys/kern kern_lkm.c
Message-ID:  <199702271640.IAA05940@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         97/02/27 08:40:22

  Modified:    sys/kern  kern_lkm.c
  Log:
  Fixed loading of vfs's.  The Lite2 merge added unnecessary compatibility
  cruft and resulted in loading usually following a null pointer.  Use
  something closer to the pre-Lite2 code, including not making a copy of
  the new filesystem's config info.  Not making a copy also fixes a race
  for loading and a memory leak for unloading.
  
  Fixed unloading of vfs's.  maxvfsconf wasn't maintained.
  
  Look up the vfs to unload by name instead of by number.  The numbers
  should go away as soon as all mount utilities are converted.
  
  Revision  Changes    Path
  1.37      +20 -41    src/sys/kern/kern_lkm.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702271640.IAA05940>