Print this page
11083 support NFS server in zone
Portions contributed by: Dan Kruchinin <dan.kruchinin@nexenta.com>
Portions contributed by: Stepan Zastupov <stepan.zastupov@gmail.com>
Portions contributed by: Joyce McIntosh <joyce.mcintosh@nexenta.com>
Portions contributed by: Mike Zeller <mike@mikezeller.net>
Portions contributed by: Dan McDonald <danmcd@joyent.com>
Portions contributed by: Gordon Ross <gordon.w.ross@gmail.com>
Portions contributed by: Vitaliy Gusev <gusev.vitaliy@gmail.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Rob Gittins <rob.gittins@nexenta.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
Reviewed by: Jason King <jbk@joyent.com>
Reviewed by: C Fraire <cfraire@me.com>
Change-Id: I22f289d357503f9b48a0bc2482cc4328a6d43d16

*** 16,32 **** * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* * Copyright (c) 1986, 2010, Oracle and/or its affiliates. All rights reserved. ! * * Copyright (c) 1983,1984,1985,1986,1987,1988,1989 AT&T. * All rights reserved. */ #include <sys/param.h> #include <sys/types.h> #include <sys/systm.h> #include <sys/thread.h> #include <sys/t_lock.h> --- 16,39 ---- * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ + /* * Copyright (c) 1986, 2010, Oracle and/or its affiliates. All rights reserved. ! */ ! ! /* * Copyright (c) 1983,1984,1985,1986,1987,1988,1989 AT&T. * All rights reserved. */ + /* + * Copyright 2018 Nexenta Systems, Inc. + */ + #include <sys/param.h> #include <sys/types.h> #include <sys/systm.h> #include <sys/thread.h> #include <sys/t_lock.h>
*** 58,67 **** --- 65,75 ---- #include <rpc/auth.h> #include <rpc/clnt.h> #include <nfs/nfs.h> #include <nfs/nfs_clnt.h> + #include <nfs/nfs_cmd.h> #include <nfs/rnode.h> #include <nfs/nfs_acl.h> #include <nfs/lm.h>
*** 2825,2834 **** --- 2833,2844 ---- zone_key_create(&mi_list_key, nfs_mi_init, nfs_mi_shutdown, nfs_mi_destroy); nfs4_clnt_init(); + nfscmd_init(); + #ifdef DEBUG nfs_clntup = B_TRUE; #endif return (0);
*** 2844,2853 **** --- 2854,2864 ---- { (void) zone_key_delete(mi_list_key); nfs_subrfini(); nfs_vfsfini(); nfs4_clnt_fini(); + nfscmd_fini(); } /* * nfs_lockrelease: *