1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/net/arla/files/patch-ac
Assar Westerlund 46b4ae309c update to 0.35.6
and include a new patch needed because RELENG-4 changed APIs again
2002-01-07 04:47:11 +00:00

32 lines
910 B
Plaintext

Index: xfs/bsd/xfs_message.c
===================================================================
RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/xfs/bsd/xfs_message.c,v
retrieving revision 1.64.2.3
diff -u -w -r1.64.2.3 xfs_message.c
--- xfs/bsd/xfs_message.c 2001/10/19 04:29:31 1.64.2.3
+++ xfs/bsd/xfs_message.c 2002/01/07 04:28:29
@@ -473,6 +473,15 @@
/* XXX see comment in xfs_node_find */
/* XXXSMP do gone[l] need to get mntvnode_slock ? */
+#if __FreeBSD_version >= 440002
+ for(vp = TAILQ_FIRST(&XFS_TO_VFS(&xfs[fd])->mnt_nvnodelist);
+ vp != NULL;
+ vp = next) {
+
+ next = TAILQ_NEXT(vp, v_nmntvnodes);
+ gc_vnode (vp, p);
+ }
+#else
for(vp = XFS_TO_VFS(&xfs[fd])->mnt_vnodelist.lh_first;
vp != NULL;
vp = next) {
@@ -480,6 +489,7 @@
next = vp->v_mntvnodes.le_next;
gc_vnode (vp, p);
}
+#endif
} else {
struct xfs_node *t;
int i;