FreeBSD Bugzilla – Attachment 7535 Details for
Bug 16299
[nfs] nfs.ko can be unloaded when nfsd is running, leading to a panic later
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 776 bytes, created by
peter.edwards
on 2000-01-22 16:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
peter.edwards
Created:
2000-01-22 16:40:01 UTC
Size:
776 bytes
patch
obsolete
>*** nfs_syscalls.c.old Sat Jan 22 16:15:02 2000 >--- nfs_syscalls.c Sat Jan 22 16:24:36 2000 >*************** >*** 103,108 **** >--- 103,109 ---- > > #ifndef NFS_NOSERVER > int nfsd_waiting = 0; >+ int nfs_server_daemons; /* number of active nfsd processes. */ > static struct nfsdrt nfsdrt; > static int nfs_numnfsd = 0; > static int notstarted = 1; >*************** >*** 303,309 **** >--- 304,312 ---- > } > if ((uap->flag & NFSSVC_AUTHINFAIL) && (nfsd = nsd->nsd_nfsd)) > nfsd->nfsd_flag |= NFSD_AUTHFAIL; >+ nfs_server_daemons++; > error = nfssvc_nfsd(nsd, uap->argp, p); >+ nfs_server_daemons--; > } > #endif /* NFS_NOSERVER */ > if (error == EINTR || error == ERESTART)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 16299
: 7535 |
7536