]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
gpt_entries is used as limit for the number of partition entries in
authorae <ae@FreeBSD.org>
Thu, 8 Aug 2013 16:09:20 +0000 (16:09 +0000)
committerae <ae@FreeBSD.org>
Thu, 8 Aug 2013 16:09:20 +0000 (16:09 +0000)
commit4c7750d3a89a6915e36b36744198453b6ab9996e
tree9422c97ade76f0cdf4e17c58da14141ed2036064
parenta9f5589a92d440ca845506369a6a7ae7c1ceb3b9
gpt_entries is used as limit for the number of partition entries in
the GEOM_PART. Instead of just using number of entries from the GPT
header, calculate this limit based on the reserved space between
GPT header and first available LBA.

MFC after: 2 weeks
sys/geom/part/g_part_gpt.c