Andriy Gapon 1b4bc5f851 bo_bsize: revert r205860 and take an alternative approch in getblk
In r205860 I missed the fact that there is code that strongly assumes
that devvp bo_bsize is equal to underlying provider's sectorsize.
In those places it is hard to obtain the sectorsize in an alternative
way if devvp bo_bsize is set to something else.
So, I am reverting bo_bsize assigment in g_vfs_open.
Instead, in getblk I use DEV_BSIZE block size for b_offset calculation
if vp is a disk vp as reported by vn_isdisk.  This should coinside with
vp being a devvp.

Reported by:	Mykola Dzham <i@levsha.me>
Tested by:	Mykola Dzham <i@levsha.me>
Pointyhat to:	avg
MFC after:	2 weeks
X-ToDo:		convert bread(devvp) in all fs to use bo_bsize-d blocks
2010-04-02 15:12:31 +00:00
..
2009-10-27 11:01:15 +00:00
2010-02-27 15:26:36 +00:00
2010-03-11 15:13:55 +00:00
2010-01-07 01:24:09 +00:00
2008-09-22 10:37:02 +00:00
2010-02-03 08:42:08 +00:00
2010-02-18 05:49:52 +00:00
2010-01-04 12:39:42 +00:00
2010-02-07 18:00:13 +00:00
2009-10-27 11:01:15 +00:00
2009-10-27 11:01:15 +00:00
2010-01-04 20:59:52 +00:00
2010-01-04 20:59:52 +00:00
2009-05-26 09:19:21 +00:00