hammer2 - Handle error on rename in media out of space case
commita1ef236873d393176b349ea05f21e78bf11c78b6
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 14 Oct 2017 22:28:12 +0000 (14 15:28 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 14 Oct 2017 22:28:12 +0000 (14 15:28 -0700)
tree74fd02c8aee35aa547cba9843995035fbe9c9f21
parentad5056c75c7ccd8379444d5b953c08015846e23c
hammer2 - Handle error on rename in media out of space case

* Process the error code from hammer2_chain_delete() in
  hammer2_xop_nrename() to ensure that we do not try to reattach
  the chain under another parent.

Reported-by: arcade (Bug #3055)
sys/vfs/hammer2/hammer2_xops.c