git: hammer2 - Handle error on rename in media out of space case

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Oct 14 15:29:56 PDT 2017


commit a1ef236873d393176b349ea05f21e78bf11c78b6
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Oct 14 15:28:12 2017 -0700

    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)

Summary of changes:
 sys/vfs/hammer2/hammer2_xops.c | 35 +++++++++++++++++++++++++++--------
 1 file changed, 27 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a1ef236873d393176b349ea05f21e78bf11c78b6


-- 
DragonFly BSD source repository



More information about the Commits mailing list