]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r285735:
authorae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 28 Jul 2015 08:25:49 +0000 (08:25 +0000)
committerae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 28 Jul 2015 08:25:49 +0000 (08:25 +0000)
commita13b1f0aaf713efefe906f0fed4614a9a501a052
treec9e02012af84e2f466fd0603c867c0eb49862223
parent9441c363d7c789ddecc02d14bd9dfe6909232017
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/9@285937 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/geom/class/part/geom_part.c