diff options
| author | Robert Harris <Robert.Harris@Sun.COM> | 2010-07-23 04:16:05 -0700 |
|---|---|---|
| committer | Robert Harris <Robert.Harris@Sun.COM> | 2010-07-23 04:16:05 -0700 |
| commit | d7de0cea9111a93d26efcfa259585dabbde02eea (patch) | |
| tree | caa047d7621ae20b9a1b2351545cbea6f23c6108 /usr/src/uts/common/fs/nfs | |
| parent | 04fdf45595eefac2f4793a31f7be253c3ddd3368 (diff) | |
| download | illumos-joyent-d7de0cea9111a93d26efcfa259585dabbde02eea.tar.gz | |
6950914 remount can change mount point to "unspecified_mountpoint", causing panics
Diffstat (limited to 'usr/src/uts/common/fs/nfs')
| -rw-r--r-- | usr/src/uts/common/fs/nfs/nfs4_vfsops.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/src/uts/common/fs/nfs/nfs4_vfsops.c b/usr/src/uts/common/fs/nfs/nfs4_vfsops.c index 040fbed7bd..35152c3a39 100644 --- a/usr/src/uts/common/fs/nfs/nfs4_vfsops.c +++ b/usr/src/uts/common/fs/nfs/nfs4_vfsops.c @@ -19,8 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2010 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. + * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. */ /* @@ -2616,7 +2615,7 @@ nfs4rootvp(vnode_t **rtvpp, vfs_t *vfsp, struct servinfo4 *svp_head, (void) strcat(resource, svp->sv_hostname); (void) strcat(resource, ":"); (void) strcat(resource, svp->sv_path); - vfs_setresource(vfsp, resource); + vfs_setresource(vfsp, resource, 0); kmem_free(resource, len); } |
