git: DragonFly_RELEASE_5_8 sys/vfs/hammer2: modify inode's ctime after link()ing it

Daniel Fojt deef at crater.dragonflybsd.org
Fri Dec 18 04:16:56 PST 2020


commit 2d4767703b831ff9ca40c58cf8a4bf1f84350034
Author: Daniel Fojt <df at neosystem.org>
Date:   Fri Dec 18 11:04:23 2020 +0100

    sys/vfs/hammer2: modify inode's ctime after link()ing it
    
    After successfully hardlinking inode, update also its ctime.
    In addition to mtime, update also ctime of destination directory.
    
    Issue: https://bugs.dragonflybsd.org/issues/3251
    Reviewed by: Matthew Dillon

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2d4767703b831ff9ca40c58cf8a4bf1f84350034


-- 
DragonFly BSD source repository


More information about the Commits mailing list