git: hammer2 - Refactor file unlink w/open descriptor (3)

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Dec 12 17:27:51 PST 2013


commit 59c5121acd6477b53e67bfd80821cb12f08cc857
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Dec 12 17:24:47 2013 -0800

    hammer2 - Refactor file unlink w/open descriptor (3)
    
    * Fix a bug where hammer2_inode_connect() was not calling
      hammer2_chain_lookup() to properly adjust the parent chain pointer
      to the correct insertion point when moving an unlinked-but-open file
      to the hidden directory.
    
      (triggered with poudriere which uses open/unlinked filesystem FIFO nodes).
    
    * Minor documentation cleanup.

Summary of changes:
 sys/vfs/hammer2/hammer2_chain.c | 13 ++++++++++++-
 sys/vfs/hammer2/hammer2_flush.c |  2 +-
 sys/vfs/hammer2/hammer2_inode.c | 14 ++++++++++++--
 3 files changed, 25 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/59c5121acd6477b53e67bfd80821cb12f08cc857


-- 
DragonFly BSD source repository



More information about the Commits mailing list