simon 9d0350bdbe 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.

Reviewed by:	phk, cperciva
Submitted by:	mdodd
MFC after:	2 weeks
2006-06-18 22:01:15 +00:00
..
2005-11-30 19:07:28 +00:00
2006-02-01 12:06:01 +00:00
2006-02-01 12:06:01 +00:00
2006-04-28 12:13:49 +00:00
2006-02-01 12:06:01 +00:00
2006-02-01 12:06:01 +00:00
2006-02-01 12:06:01 +00:00
2006-02-01 12:06:01 +00:00
2005-11-25 10:09:30 +00:00
2005-02-10 12:10:35 +00:00