Deleted Added
full compact
zfs_vfsops.c (169194) zfs_vfsops.c (170431)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 40 unchanged lines hidden (view full) ---

49#include <sys/varargs.h>
50#include <sys/policy.h>
51#include <sys/atomic.h>
52#include <sys/zfs_ioctl.h>
53#include <sys/zfs_ctldir.h>
54#include <sys/sunddi.h>
55#include <sys/dnlc.h>
56
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 40 unchanged lines hidden (view full) ---

49#include <sys/varargs.h>
50#include <sys/policy.h>
51#include <sys/atomic.h>
52#include <sys/zfs_ioctl.h>
53#include <sys/zfs_ctldir.h>
54#include <sys/sunddi.h>
55#include <sys/dnlc.h>
56
57struct mtx atomic_mtx;
58MTX_SYSINIT(atomic, &atomic_mtx, "atomic", MTX_DEF);
59
60struct mtx zfs_debug_mtx;
61MTX_SYSINIT(zfs_debug_mtx, &zfs_debug_mtx, "zfs_debug", MTX_DEF);
62SYSCTL_NODE(_vfs, OID_AUTO, zfs, CTLFLAG_RW, 0, "ZFS file system");
63int zfs_debug_level = 0;
64TUNABLE_INT("vfs.zfs.debug", &zfs_debug_level);
65SYSCTL_INT(_vfs_zfs, OID_AUTO, debug, CTLFLAG_RW, &zfs_debug_level, 0,
66 "Debug level");
67

--- 916 unchanged lines hidden ---
57struct mtx zfs_debug_mtx;
58MTX_SYSINIT(zfs_debug_mtx, &zfs_debug_mtx, "zfs_debug", MTX_DEF);
59SYSCTL_NODE(_vfs, OID_AUTO, zfs, CTLFLAG_RW, 0, "ZFS file system");
60int zfs_debug_level = 0;
61TUNABLE_INT("vfs.zfs.debug", &zfs_debug_level);
62SYSCTL_INT(_vfs_zfs, OID_AUTO, debug, CTLFLAG_RW, &zfs_debug_level, 0,
63 "Debug level");
64

--- 916 unchanged lines hidden ---