cvs commit: src/sys/geom geom_dev.c

Simon L. Nielsen simon at FreeBSD.org
Wed Jul 12 18:51:52 UTC 2006


simon       2006-07-12 18:51:51 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/geom             geom_dev.c 
  Log:
  MFC rev 1.90:
  
  In g_dev_strategy(), when failing an IO request with EINVAL due to
  offset or request size which is not a multiple of the sector size, make
  sure that the bio is set to indicate that no data has actually been
  transferred.
  
  The result of this is that the file offset is no longer incremented for
  these requests.  The fact that the file offset was incremented broke
  fdisk(8)'s probing of sector size for non-512 byte sector sizes.
  
  Revision  Changes    Path
  1.89.2.1  +1 -0      src/sys/geom/geom_dev.c


More information about the cvs-all mailing list