summaryrefslogtreecommitdiffstats
path: root/sys/nfs/nfs_nfssvc.c
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2011-01-14 23:30:35 +0000
committerrmacklem <rmacklem@FreeBSD.org>2011-01-14 23:30:35 +0000
commit076e0f39cdc15b085081b74eb110c647068522f2 (patch)
tree5ee01378fe7a940113651fc8aae989b180de0198 /sys/nfs/nfs_nfssvc.c
parent085a83f669a0449b5a65dce501a59d52bd86cc50 (diff)
downloadFreeBSD-src-076e0f39cdc15b085081b74eb110c647068522f2.zip
FreeBSD-src-076e0f39cdc15b085081b74eb110c647068522f2.tar.gz
Modify the experimental NFSv4 server so that it posts a SIGUSR2
signal to the master nfsd daemon whenever the stable restart file has been modified. This will allow the master nfsd daemon to maintain an up to date backup copy of the file. This is enabled via the nfssvc() syscall, so that older nfsd daemons will not be signaled. Reviewed by: jhb MFC after: 1 week
Diffstat (limited to 'sys/nfs/nfs_nfssvc.c')
-rw-r--r--sys/nfs/nfs_nfssvc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfs/nfs_nfssvc.c b/sys/nfs/nfs_nfssvc.c
index b9186be..cb1f37a 100644
--- a/sys/nfs/nfs_nfssvc.c
+++ b/sys/nfs/nfs_nfssvc.c
@@ -99,7 +99,7 @@ nfssvc(struct thread *td, struct nfssvc_args *uap)
else if ((uap->flag & (NFSSVC_NFSDNFSD | NFSSVC_NFSDADDSOCK |
NFSSVC_PUBLICFH | NFSSVC_V4ROOTEXPORT | NFSSVC_NOPUBLICFH |
NFSSVC_STABLERESTART | NFSSVC_ADMINREVOKE |
- NFSSVC_DUMPCLIENTS | NFSSVC_DUMPLOCKS)) &&
+ NFSSVC_DUMPCLIENTS | NFSSVC_DUMPLOCKS | NFSSVC_BACKUPSTABLE)) &&
nfsd_call_nfsd != NULL)
error = (*nfsd_call_nfsd)(td, uap);
if (error == EINTR || error == ERESTART)
OpenPOWER on IntegriCloud