summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2009-05-07 23:02:15 +0000
committerkmacy <kmacy@FreeBSD.org>2009-05-07 23:02:15 +0000
commit386b2c2f90a8aa2e5b8e2119040e347f2d9f4e91 (patch)
tree15cbaf923d7ea11ef792df9ac51a4e33bf188bf6
parent360e38ed6bac7312af74ce9fc1053e30a9c4dec7 (diff)
downloadFreeBSD-src-386b2c2f90a8aa2e5b8e2119040e347f2d9f4e91.zip
FreeBSD-src-386b2c2f90a8aa2e5b8e2119040e347f2d9f4e91.tar.gz
move VN_RELE_ASYNC to the compatibility layer with the rest of the VN_* defines
-rw-r--r--sys/cddl/compat/opensolaris/sys/vnode.h1
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/vnode.h5
2 files changed, 1 insertions, 5 deletions
diff --git a/sys/cddl/compat/opensolaris/sys/vnode.h b/sys/cddl/compat/opensolaris/sys/vnode.h
index 68288a7..44741d2 100644
--- a/sys/cddl/compat/opensolaris/sys/vnode.h
+++ b/sys/cddl/compat/opensolaris/sys/vnode.h
@@ -75,6 +75,7 @@ vn_is_readonly(vnode_t *vp)
#define VN_HOLD(v) vref(v)
#define VN_RELE(v) vrele(v)
#define VN_URELE(v) vput(v)
+#define VN_RELE_ASYNC(v, tq) vn_rele_async(v, tq);
#define VOP_REALVP(vp, vpp, ct) (*(vpp) = (vp), 0)
diff --git a/sys/cddl/contrib/opensolaris/uts/common/sys/vnode.h b/sys/cddl/contrib/opensolaris/uts/common/sys/vnode.h
index dca3715..a166315 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/sys/vnode.h
+++ b/sys/cddl/contrib/opensolaris/uts/common/sys/vnode.h
@@ -381,11 +381,6 @@ struct taskq;
void vn_rele_async(struct vnode *vp, struct taskq *taskq);
void vn_rele_async_fini(void);
-
-#define VN_RELE_ASYNC(vp, taskq) { \
- vn_rele_async(vp, taskq); \
-}
-
/*
* Flags to VOP_SETATTR/VOP_GETATTR.
*/
OpenPOWER on IntegriCloud