diff options
author | pjd <pjd@FreeBSD.org> | 2007-06-08 12:35:47 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2007-06-08 12:35:47 +0000 |
commit | 9eba2904d11ed785ef1cc694b8615aeb353c2252 (patch) | |
tree | c13033e14290bd6f5979ef75215789df0fb2f0d4 /sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c | |
parent | f25cc1ca4c9929dff27e1d0db4c78685b01657c9 (diff) | |
download | FreeBSD-src-9eba2904d11ed785ef1cc694b8615aeb353c2252.zip FreeBSD-src-9eba2904d11ed785ef1cc694b8615aeb353c2252.tar.gz |
- Reduce number of atomic operations needed to be implemented in asm by
implementing some of them using existing ones.
- Allow to compile ZFS on all archs and use atomic operations surrounded
by global mutex on archs we don't have or can't have all atomic
operations needed by ZFS.
Diffstat (limited to 'sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c')
-rw-r--r-- | sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c b/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c index e274a7e..d0d4600 100644 --- a/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c +++ b/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c @@ -54,9 +54,6 @@ #include <sys/sunddi.h> #include <sys/dnlc.h> -struct mtx atomic_mtx; -MTX_SYSINIT(atomic, &atomic_mtx, "atomic", MTX_DEF); - struct mtx zfs_debug_mtx; MTX_SYSINIT(zfs_debug_mtx, &zfs_debug_mtx, "zfs_debug", MTX_DEF); SYSCTL_NODE(_vfs, OID_AUTO, zfs, CTLFLAG_RW, 0, "ZFS file system"); |