git: hammer2 - stabilization, fix delete-on-reclaim (2)

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Dec 11 09:27:29 PST 2018


commit 6c699c81d0a791cf80803a9edc42056035d882e0
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Dec 11 09:26:19 2018 -0800

    hammer2 - stabilization, fix delete-on-reclaim (2)
    
    * Fix double-delete.  When an inode is finally deleted, the
      HAMMER2_INODE_ISUNLINKED flag must be cleared to avoid a
      double delete later in reclaim.

Summary of changes:
 sys/vfs/hammer2/hammer2_inode.c | 6 +++++-
 sys/vfs/hammer2/hammer2_vnops.c | 9 ---------
 2 files changed, 5 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6c699c81d0a791cf80803a9edc42056035d882e0


-- 
DragonFly BSD source repository



More information about the Commits mailing list