--- a/usr/src/uts/common/fs/namefs/namevfs.c Fri Sep 16 21:55:12 2005 -0700
+++ b/usr/src/uts/common/fs/namefs/namevfs.c Sat Sep 17 09:54:49 2005 -0700
@@ -20,7 +20,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -223,10 +223,10 @@
(vfsp = NMTOV(nodep)->v_vfsp) != NULL && vfsp != &namevfs) {
/*
- * If the vn_vfslock fails, skip the vfs since
+ * If the vn_vfswlock fails, skip the vfs since
* somebody else may be unmounting it.
*/
- if (vn_vfslock(vfsp->vfs_vnodecovered)) {
+ if (vn_vfswlock(vfsp->vfs_vnodecovered)) {
realerr = EBUSY;
nodep = nodep->nm_nextp;
continue;