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

Sascha Wildner swildner at crater.dragonflybsd.org
Mon May 7 09:14:07 PDT 2018


commit e06bda7fe7818f01634019401b18a8ed78f2b8af
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/e06bda7fe7818f01634019401b18a8ed78f2b8af


-- 
DragonFly BSD source repository



More information about the Commits mailing list