hammer2 - Fix chain->error case in hammer2_chain_lookup()
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 8 Dec 2019 02:00:47 +0000 (18:00 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 8 Dec 2019 02:00:47 +0000 (18:00 -0800)
commit126dbaed35a4d90e1e9e2e7b079fb43ddfd1c1f8
treeae01d3c53fc058f33956ae13606b17462f92fc54
parent459afb66640a65a95dfa2ea62aec4758ddf7d346
hammer2 - Fix chain->error case in hammer2_chain_lookup()

* The chain->error case was not being properly handled in
  hammer2_chain_lookup(), resulting in either a panic or a
  permanent "xxx" stall.

* Fix the case so upper levels can properly process EIO and
  related issues.
sys/vfs/hammer2/hammer2_chain.c