summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2015-01-20 22:31:26 +0000
committerwill <will@FreeBSD.org>2015-01-20 22:31:26 +0000
commit559379347466b89c0d532c48e80d065b287402d7 (patch)
tree06753feb761931e18498b9d79ef07e2381ea2119
parent3c6834bfdd1fd49f027cc3d8b162401169ebac98 (diff)
downloadFreeBSD-src-559379347466b89c0d532c48e80d065b287402d7.zip
FreeBSD-src-559379347466b89c0d532c48e80d065b287402d7.tar.gz
Use the "zfs_gfs" tag for GFS vnodes to make them easier to identify.
MFC after: 1 week Sponsored by: Spectra Logic
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/gfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/gfs.c b/sys/cddl/contrib/opensolaris/uts/common/fs/gfs.c
index 2ff8df6..89882f4 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/fs/gfs.c
+++ b/sys/cddl/contrib/opensolaris/uts/common/fs/gfs.c
@@ -489,7 +489,7 @@ gfs_file_create(size_t size, vnode_t *pvp, vfs_t *vfsp, vnodeops_t *ops)
* Allocate vnode and internal data structure
*/
fp = kmem_zalloc(size, KM_SLEEP);
- error = getnewvnode("zfs", vfsp, ops, &vp);
+ error = getnewvnode("zfs_gfs", vfsp, ops, &vp);
ASSERT(error == 0);
vn_lock(vp, LK_EXCLUSIVE | LK_RETRY);
vp->v_data = (caddr_t)fp;
OpenPOWER on IntegriCloud