diff options
author | jv227347 <Jordan.Vaughan@Sun.com> | 2009-01-30 12:25:48 -0800 |
---|---|---|
committer | jv227347 <Jordan.Vaughan@Sun.com> | 2009-01-30 12:25:48 -0800 |
commit | 5679c89fcd2facbb4334df8870d3d7a4d2b11673 (patch) | |
tree | bd866343c67036778a29b550abaecd793de008cd /usr/src/uts/common/fs/nfs/nfs_subr.c | |
parent | 7b26d9ff58e6ee1f319b41c922c7ac8d3cb4804c (diff) | |
download | illumos-joyent-5679c89fcd2facbb4334df8870d3d7a4d2b11673.tar.gz |
PSARC/2008/647 Configurable Hostids for Non-Global Zones
6580939 RFE: provide unique hostid for each non-global zone
Diffstat (limited to 'usr/src/uts/common/fs/nfs/nfs_subr.c')
-rw-r--r-- | usr/src/uts/common/fs/nfs/nfs_subr.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/usr/src/uts/common/fs/nfs/nfs_subr.c b/usr/src/uts/common/fs/nfs/nfs_subr.c index fd1982c052..25397dd6e4 100644 --- a/usr/src/uts/common/fs/nfs/nfs_subr.c +++ b/usr/src/uts/common/fs/nfs/nfs_subr.c @@ -19,12 +19,10 @@ * CDDL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/param.h> #include <sys/types.h> #include <sys/systm.h> @@ -3302,20 +3300,6 @@ newname(void) return (news); } -int -nfs_atoi(char *cp) -{ - int n; - - n = 0; - while (*cp != '\0') { - n = n * 10 + (*cp - '0'); - cp++; - } - - return (n); -} - /* * Snapshot callback for nfs:0:nfs_client as registered with the kstat * framework. |