aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/os/freebsd/zfs/sys/zfs_vfsops_os.h6
-rw-r--r--include/os/linux/zfs/sys/zfs_vfsops_os.h3
2 files changed, 0 insertions, 9 deletions
diff --git a/include/os/freebsd/zfs/sys/zfs_vfsops_os.h b/include/os/freebsd/zfs/sys/zfs_vfsops_os.h
index c44f7c6f06b1..f765d38dbac8 100644
--- a/include/os/freebsd/zfs/sys/zfs_vfsops_os.h
+++ b/include/os/freebsd/zfs/sys/zfs_vfsops_os.h
@@ -128,9 +128,6 @@ struct zfsvfs {
#define ZFS_TEARDOWN_DESTROY(zfsvfs) \
rms_destroy(&(zfsvfs)->z_teardown_lock)
-#define ZFS_TEARDOWN_TRY_ENTER_READ(zfsvfs) \
- rms_try_rlock(&(zfsvfs)->z_teardown_lock)
-
#define ZFS_TEARDOWN_ENTER_READ(zfsvfs, tag) \
rms_rlock(&(zfsvfs)->z_teardown_lock);
@@ -161,9 +158,6 @@ struct zfsvfs {
#define ZFS_TEARDOWN_DESTROY(zfsvfs) \
rrm_destroy(&(zfsvfs)->z_teardown_lock)
-#define ZFS_TEARDOWN_TRY_ENTER_READ(zfsvfs) \
- rw_tryenter(&(zfsvfs)->z_teardown_lock, RW_READER)
-
#define ZFS_TEARDOWN_ENTER_READ(zfsvfs, tag) \
rrm_enter_read(&(zfsvfs)->z_teardown_lock, tag);
diff --git a/include/os/linux/zfs/sys/zfs_vfsops_os.h b/include/os/linux/zfs/sys/zfs_vfsops_os.h
index 697ae2018ec4..e320b8de4222 100644
--- a/include/os/linux/zfs/sys/zfs_vfsops_os.h
+++ b/include/os/linux/zfs/sys/zfs_vfsops_os.h
@@ -143,9 +143,6 @@ struct zfsvfs {
#define ZFS_TEARDOWN_DESTROY(zfsvfs) \
rrm_destroy(&(zfsvfs)->z_teardown_lock)
-#define ZFS_TEARDOWN_TRY_ENTER_READ(zfsvfs) \
- rw_tryenter(&(zfsvfs)->z_teardown_lock, RW_READER)
-
#define ZFS_TEARDOWN_ENTER_READ(zfsvfs, tag) \
rrm_enter_read(&(zfsvfs)->z_teardown_lock, tag);