cvs commit: src/sys/kern vfs_bio.c src/sys/sys buf.h src/sys/ufs/ffs ffs_softdep.c

Jeff Roberson jeff at FreeBSD.org
Sun Aug 31 01:50:12 PDT 2003


jeff        2003/08/31 01:50:11 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_bio.c 
    sys/sys              buf.h 
    sys/ufs/ffs          ffs_softdep.c 
  Log:
   - Define a new flag for getblk(): GB_NOCREAT.  This flag causes getblk() to
     bail out if the buffer is not already present.
   - The buffer returned by incore() is not locked and should not be sent to
     brelse().  Use getblk() with the new GB_NOCREAT flag to preserve the
     desired semantics.
  
  Revision  Changes    Path
  1.403     +8 -0      src/sys/kern/vfs_bio.c
  1.156     +1 -0      src/sys/sys/buf.h
  1.142     +5 -3      src/sys/ufs/ffs/ffs_softdep.c


More information about the cvs-src mailing list