]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r223660:
authorae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 6 Jul 2011 05:40:22 +0000 (05:40 +0000)
committerae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 6 Jul 2011 05:40:22 +0000 (05:40 +0000)
commitbd31926238d6d5218d7464d13302e5d05d5e1337
tree5fcd6ccb8d8c97c853572b581412a3c6018794ac
parent3f606454430247025c3d45ff82bdb15b1ef2e91f
MFC r223660:
  Initialize elements of state array when creating the GPT table.
  This fixes the problem, when the secondary GPT header is not erased when
  partition table destroyed. Move equal operations from g_part_gpt_create
  and g_part_gpt_recover to the separate function g_gpt_set_defaults.

git-svn-id: svn://svn.freebsd.org/base/stable/8@223816 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/geom/part/g_part_gpt.c