aboutsummaryrefslogtreecommitdiffstats
path: root/include/os/freebsd/spl/sys/ccompat.h
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2024-08-06 09:56:45 +1000
committerGitHub <[email protected]>2024-08-05 16:56:45 -0700
commit6c82951d111bb4c8a426e5f58a87ac80a4996fc1 (patch)
treee6d32c0b7778e5885d8417846906372767f3ef07 /include/os/freebsd/spl/sys/ccompat.h
parente9f51ebd9482f86a55ceb9fb9e38ba82fd0bb8ba (diff)
FreeBSD: remove support for FreeBSD < 13.0-RELEASE (#16372)
This includes the last 12.x release (now EOL) and 13.0 development versions (<1300139). Sponsored-by: https://despairlabs.com/sponsor/ Signed-off-by: Rob Norris <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Reviewed-by: Tino Reichardt <[email protected]> Reviewed-by: Tony Hutter <[email protected]>
Diffstat (limited to 'include/os/freebsd/spl/sys/ccompat.h')
-rw-r--r--include/os/freebsd/spl/sys/ccompat.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/include/os/freebsd/spl/sys/ccompat.h b/include/os/freebsd/spl/sys/ccompat.h
index e34bab7e8..48749fb8e 100644
--- a/include/os/freebsd/spl/sys/ccompat.h
+++ b/include/os/freebsd/spl/sys/ccompat.h
@@ -28,48 +28,6 @@
#ifndef _SYS_CCOMPAT_H
#define _SYS_CCOMPAT_H
-#if __FreeBSD_version < 1300051
-#define vm_page_valid(m) (m)->valid = VM_PAGE_BITS_ALL
-#define vm_page_do_sunbusy(m)
-#define vm_page_none_valid(m) ((m)->valid == 0)
-#else
-#define vm_page_do_sunbusy(m) vm_page_sunbusy(m)
-#endif
-
-#if __FreeBSD_version < 1300074
-#define VOP_UNLOCK1(x) VOP_UNLOCK(x, 0)
-#else
-#define VOP_UNLOCK1(x) VOP_UNLOCK(x)
-#endif
-
-#if __FreeBSD_version < 1300064
-#define VN_IS_DOOMED(vp) ((vp)->v_iflag & VI_DOOMED)
-#endif
-
-#if __FreeBSD_version < 1300068
-#define VFS_VOP_VECTOR_REGISTER(x)
-#endif
-
-#if __FreeBSD_version >= 1300076
-#define getnewvnode_reserve_() getnewvnode_reserve()
-#else
-#define getnewvnode_reserve_() getnewvnode_reserve(1)
-#endif
-
-#if __FreeBSD_version < 1300102
-#define ASSERT_VOP_IN_SEQC(zp)
-#define MNTK_FPLOOKUP 0
-#define vn_seqc_write_begin(vp)
-#define vn_seqc_write_end(vp)
-
-#ifndef VFS_SMR_DECLARE
-#define VFS_SMR_DECLARE
-#endif
-#ifndef VFS_SMR_ZONE_SET
-#define VFS_SMR_ZONE_SET(zone)
-#endif
-#endif
-
struct hlist_node {
struct hlist_node *next, **pprev;
};