hammer2 - hammer2 growfs, also update hmp->volumes[0].size
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 20 Jun 2021 16:24:51 +0000 (09:24 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 20 Jun 2021 16:24:51 +0000 (09:24 -0700)
commit8c4b647649f98dc089fc5f15b4c32337f4d7191a
tree64718db2b310f8f31049e5ffce97803f82e4b10b
parent4b01284d90385318ff458d812cc53198a59b0cdf
hammer2 - hammer2 growfs, also update hmp->volumes[0].size

* hammer2 growfs also needs to update hmp->volumes[0].size,
  otherwise a panic on file write past the previous boundary
  will ensue.

* Note that a reboot after issuing the growfs also takes care
  of this.

Reported-by: goneri (irc)
sys/vfs/hammer2/hammer2_ioctl.c