diff options
Diffstat (limited to 'usr/src/uts/common/fs/tmpfs/tmp_dir.c')
-rw-r--r-- | usr/src/uts/common/fs/tmpfs/tmp_dir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/uts/common/fs/tmpfs/tmp_dir.c b/usr/src/uts/common/fs/tmpfs/tmp_dir.c index 75d67bcd33..de405078c3 100644 --- a/usr/src/uts/common/fs/tmpfs/tmp_dir.c +++ b/usr/src/uts/common/fs/tmpfs/tmp_dir.c @@ -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. */ @@ -782,10 +782,10 @@ tdirrename( goto out; } /* - * vn_vfslock will prevent mounts from using the directory + * vn_vfswlock will prevent mounts from using the directory * until we are done. */ - if (vn_vfslock(TNTOV(to))) { + if (vn_vfswlock(TNTOV(to))) { error = EBUSY; goto out; } |