git: DragonFly_RELEASE_5_0 hammer2 - Fix rename race

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Dec 2 11:09:28 PST 2017


commit e33a384ce181949e5b29bd05ec1d733ed8760f53
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Dec 2 01:02:59 2017 -0800

    hammer2 - Fix rename race
    
    * Fix a rename race in hammer2 which can result in unwanted namecache
      overloading.  When this occurs, a rename operation can wind up
      deleting the same inode more than once.
    
    * This fixes a "hammer2_chain_getparent: no parent" panic in H2.
    
    Reported-by: kerma

Summary of changes:
 sys/vfs/hammer2/hammer2_vnops.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list