summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/fs/gfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/fs/gfs.c')
-rw-r--r--usr/src/uts/common/fs/gfs.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr/src/uts/common/fs/gfs.c b/usr/src/uts/common/fs/gfs.c
index 4d24df60f7..c863e186cf 100644
--- a/usr/src/uts/common/fs/gfs.c
+++ b/usr/src/uts/common/fs/gfs.c
@@ -23,8 +23,9 @@
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-
-#pragma ident "%Z%%M% %I% %E% SMI"
+/*
+ * Copyright (c) 2017 by Delphix. All rights reserved.
+ */
#include <sys/types.h>
#include <sys/cmn_err.h>
@@ -671,7 +672,7 @@ found:
}
vn_free(vp);
} else {
- vp->v_count--;
+ VN_RELE_LOCKED(vp);
data = NULL;
mutex_exit(&vp->v_lock);
if (vp->v_flag & V_XATTRDIR) {