git: DragonFly_RELEASE_5_2 kernel/nfs: Use the correct prototype for sys_nfssvc().

Sascha Wildner swildner at crater.dragonflybsd.org
Mon May 7 09:15:27 PDT 2018


commit de942382d764fadf7fb0d8fcb14c2a98bab01d8f
Author: Sascha Wildner <saw at online.de>
Date:   Mon May 7 18:13:41 2018 +0200

    kernel/nfs: Use the correct prototype for sys_nfssvc().
    
    The code handles loading of nfs.ko (nfssvc() is the only {,un}loadable
    syscall). sys_nfssvc()'s prototype is automatically generated, so just
    use that.
    
    The sy_narg setting is not strictly needed because it is already
    initialized correctly. Just the sy_call pointer is either sys_nosys
    or sys_nfssvc, depending on the module load.
    
    Reported-by: zrj

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

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list