cvs commit: src/sys/geom/journal g_journal.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Nov 2 09:14:19 UTC 2006


pjd         2006-11-02 09:14:18 UTC

  FreeBSD src repository

  Modified files:
    sys/geom/journal     g_journal.c 
  Log:
  - Use g_duplicate_bio() instead of g_clone_bio(), so there memory is
    allocated with M_WAITOK flag.
  - Check 'buf' instead of 'error' so Prevent is not confused.
  
  CID:            1562, 1563
  Found by:       Coverity Prevent analysis tool
  
  Revision  Changes    Path
  1.7       +3 -5      src/sys/geom/journal/g_journal.c


More information about the cvs-src mailing list