]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r285735:
authorae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 28 Jul 2015 08:22:50 +0000 (08:22 +0000)
committerae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 28 Jul 2015 08:22:50 +0000 (08:22 +0000)
commit4ccc370f342caf3c3c656b234d3f45984bae93a0
tree97360a3b76ffd6721a7185cfc5d09f416234e2a8
parentbd37f2c1305c5db842099bb4c9c10b2c8c84e379
MFC r285735:
  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

git-svn-id: svn://svn.freebsd.org/base/stable/10@285936 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/geom/class/part/geom_part.c