Andrey V. Elsukov 109f7a27c4 lseek() allows an offset to be set beyond the end of file. Using
it to check that partition has enough space to write bootcode doesn't
work. Use the known size of provider instead.

PR:		201504
MFC after:	1 week
2015-07-21 06:18:42 +00:00
..
2015-06-13 19:20:56 +00:00
2014-11-25 11:23:12 +00:00