hammer2 - Fix hammer2 snapshot operation
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 22 Sep 2017 16:27:04 +0000 (09:27 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 22 Sep 2017 16:27:04 +0000 (09:27 -0700)
commit412a77ff8364a46d07a5cab03a981e4c993ffdd9
tree5d69998bc789419dcdb66aedf704c164bc8b2e18
parent5b246b1705a0eaf9593195f71335082547c8edc1
hammer2 - Fix hammer2 snapshot operation

* Bring the hammer2 snapshot code up-to-date with the pfs-create
  code.

* Fix initial inode number assignment for hammer2 snapshot code (it
  was starting at 1024 which obviously won't work).

* Correct hammer2_vop_ncreate() error code - it was not converting
  the hammer2 error code to a system error code.
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_chain.c
sys/vfs/hammer2/hammer2_ioctl.c
sys/vfs/hammer2/hammer2_vnops.c