git: hammer2 - hammer2 growfs, also update hmp->volumes[0].size

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jun 20 09:26:20 PDT 2021


commit 8c4b647649f98dc089fc5f15b4c32337f4d7191a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Jun 20 09:24:51 2021 -0700

    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)

Summary of changes:
 sys/vfs/hammer2/hammer2_ioctl.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8c4b647649f98dc089fc5f15b4c32337f4d7191a


-- 
DragonFly BSD source repository



More information about the Commits mailing list