kernel/nfs: Use the correct prototype for sys_nfssvc().
authorSascha Wildner <saw@online.de>
Mon, 7 May 2018 16:13:41 +0000 (18:13 +0200)
committerSascha Wildner <saw@online.de>
Mon, 7 May 2018 16:15:13 +0000 (18:15 +0200)
commitde942382d764fadf7fb0d8fcb14c2a98bab01d8f
tree1547b7579eb7ecdaf1d3de9b7ecd0d484f6f7a42
parent203a24836e7a09fbd4807a7eb691a1304d169004
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