diff options
Diffstat (limited to 'include/sys/zfs_znode.h')
-rw-r--r-- | include/sys/zfs_znode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/zfs_znode.h b/include/sys/zfs_znode.h index 79ca4f7e9..7e73cf991 100644 --- a/include/sys/zfs_znode.h +++ b/include/sys/zfs_znode.h @@ -250,7 +250,7 @@ typedef struct znode { /* Called on entry to each ZFS vnode and vfs operation */ #define ZFS_ENTER(zsb) \ { \ - rrw_enter_read(&(zsb)->z_teardown_lock, FTAG); \ + rrm_enter_read(&(zsb)->z_teardown_lock, FTAG); \ if ((zsb)->z_unmounted) { \ ZFS_EXIT(zsb); \ return (EIO); \ @@ -260,7 +260,7 @@ typedef struct znode { /* Must be called before exiting the vop */ #define ZFS_EXIT(zsb) \ { \ - rrw_exit(&(zsb)->z_teardown_lock, FTAG); \ + rrm_exit(&(zsb)->z_teardown_lock, FTAG); \ } /* Verifies the znode is valid */ |