Lines 47-53
Link Here
|
47 |
#if __FreeBSD_version >= 800011 |
47 |
#if __FreeBSD_version >= 800011 |
48 |
#define COMPAT_THREAD_VAR(varname, varval) |
48 |
#define COMPAT_THREAD_VAR(varname, varval) |
49 |
#define COMPAT_VOP_LOCK(vop, flags, threadvar) VOP_LOCK((vop), (flags)) |
49 |
#define COMPAT_VOP_LOCK(vop, flags, threadvar) VOP_LOCK((vop), (flags)) |
|
|
50 |
#if __FreeBSD_version >= 1300074 |
51 |
#define COMPAT_VOP_UNLOCK(vop, flags, threadvar) VOP_UNLOCK((vop)) |
52 |
#else |
50 |
#define COMPAT_VOP_UNLOCK(vop, flags, threadvar) VOP_UNLOCK((vop), (flags)) |
53 |
#define COMPAT_VOP_UNLOCK(vop, flags, threadvar) VOP_UNLOCK((vop), (flags)) |
|
|
54 |
#endif |
51 |
#define compat_lockstatus(lock, threadvar) lockstatus((lock)) |
55 |
#define compat_lockstatus(lock, threadvar) lockstatus((lock)) |
52 |
#define compat_lockmgr(lock, flags, randompointerparam, threadval) lockmgr((lock), (flags), (randompointerparam)) |
56 |
#define compat_lockmgr(lock, flags, randompointerparam, threadval) lockmgr((lock), (flags), (randompointerparam)) |
53 |
#define compat_vn_lock(vp, flags, threadval) vn_lock((vp), (flags)) |
57 |
#define compat_vn_lock(vp, flags, threadval) vn_lock((vp), (flags)) |