cvs commit: src/lib/libufs type.c

Juli Mallett jmallett at FreeBSD.org
Thu Mar 27 17:50:14 PST 2003


jmallett    2003/03/27 17:50:11 PST

  FreeBSD src repository

  Modified files:
    lib/libufs           type.c 
  Log:
  Close the disk file descriptor that is RO before trying to open the
  new one, and do not fall back to the RO fd.  There was a bug here
  in that the RO fd was never closed, if the RDRW open succeeded, but
  this code is bogus anyway, and it breaks newfs of floppies, at least
  for me, due to "Device busy."  Anything that wants to fall back is
  doing something significantly odd that it should have some more complex
  code on its end.
  
  Revision  Changes    Path
  1.13      +1 -4      src/lib/libufs/type.c


More information about the cvs-src mailing list