kernel/nfs: Use the correct prototype for sys_nfssvc().
commite06bda7fe7818f01634019401b18a8ed78f2b8af
authorSascha Wildner <saw@online.de>
Mon, 7 May 2018 16:13:41 +0000 (7 18:13 +0200)
committerSascha Wildner <saw@online.de>
Mon, 7 May 2018 16:14:00 +0000 (7 18:14 +0200)
tree1a5288456b4240bb22b671669307c018a00c7bd5
parentade22a840f9e1750ae3039766378f0a15eb06f36
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
sys/vfs/nfs/nfs_subs.c