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

Daniel Fojt deef at crater.dragonflybsd.org
Thu Dec 17 14:16:23 PST 2020


commit b6c0d52eba61caaf89fa1c12435cb794d54411dd
Author: Daniel Fojt <df at neosystem.org>
Date:   Thu Dec 17 18:10:39 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/b6c0d52eba61caaf89fa1c12435cb794d54411dd


-- 
DragonFly BSD source repository


More information about the Commits mailing list