NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/48027: nfsserver module doesn't work
The following reply was made to PR kern/48027; it has been noted by GNATS.
From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/48027: nfsserver module doesn't work
Date: Tue, 9 Jul 2013 18:01:25 +0000
On Mon, Jul 08, 2013 at 11:24:35AM -0700, Paul Goyette wrote:
> >Are you sure it loads/attaches successfully? If it starts to load and
> >then unloads itself for some kind of error, it will uninstall the
> >syscall and then nfsd won't go.
>
> I noticed that the module initialization code doesn't check for an
> error return from syscall_establish().
Er...?
switch (cmd) {
case MODULE_CMD_INIT:
error = syscall_establish(NULL, nfsserver_syscalls);
if (error != 0) {
return error;
}
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index