git: hammer2: factor out directory mtime update in vnops

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jun 27 22:53:40 PDT 2026


commit 09c0ca0459a6274e8907b1de2160e89d800cd20a
Author: Abdelkader Boudih <dragonflybsd at seuros.com>
Date:   Sat Jun 27 18:30:35 2026 +0000

    hammer2: factor out directory mtime update in vnops
    
    Add hammer2_update_dir_mtime() for the repeated mtime/ctime update
    pattern used after directory-modifying operations. Easier to maintain
    and document in one place.

Summary of changes:
 sys/vfs/hammer2/hammer2_vnops.c | 110 +++++++++++-----------------------------
 1 file changed, 29 insertions(+), 81 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/09c0ca0459a6274e8907b1de2160e89d800cd20a


-- 
DragonFly BSD source repository


More information about the Commits mailing list