git: sys/vfs/hammer2: vnops need to return unix errno

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Tue Oct 17 20:49:47 PDT 2023


commit 3a3a7c0e9c80fbf0002f972e8a43e9e25bc6cc75
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Tue Oct 17 20:01:07 2023 -0700

    sys/vfs/hammer2: vnops need to return unix errno
    
    vnops that create a new inode essentially do the same thing using
    hammer2_inode_create_normal() in frontend.
    
    mknod and symlink are missing hammer2_error_to_errno() on failure.
    mkdir and creat have this right.

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3a3a7c0e9c80fbf0002f972e8a43e9e25bc6cc75


-- 
DragonFly BSD source repository


More information about the Commits mailing list