Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2006 09:14:18 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/geom/journal g_journal.c
Message-ID:  <200611020914.kA29EIVF010479@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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