cvs commit: src/sys/dev/md md.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat Jan 22 11:56:04 PST 2005


pjd         2005-01-22 19:56:03 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/md           md.c 
  Log:
  - Don't destroy UMA zone on error in mdcreate_malloc(), because we need it
    in mddestroy() to properly free already allocated memory.
    This fixes a panic when we want to create too big memory backed device
    with preallocate memory (-o reserve).
  - Remove redundant { }.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.151     +1 -4      src/sys/dev/md/md.c


More information about the cvs-src mailing list