hammer2 - Fix improper bzero length in rename code
commit859c7a29d67bb1dba90cbe5ff6535447ee792c2a
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 20 Aug 2017 06:00:03 +0000 (19 23:00 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 20 Aug 2017 06:03:13 +0000 (19 23:03 -0700)
treeb694cacccb0a9aaadaa6bc6182ee650bd6559bb7
parentd0e559a4252e8ff38b4ee8b49d00a93f6f4b9542
hammer2 - Fix improper bzero length in rename code

* When renaming to a long filename the data buffer is sized according
  to chain->bytes.  sizeof(chain->data->buf) is too much.  Fix the
  bzero.

* Fixes a panic.
sys/vfs/hammer2/hammer2_inode.c
sys/vfs/hammer2/hammer2_xops.c