diff options
Diffstat (limited to 'net/arla/patches/patch-bt')
-rw-r--r-- | net/arla/patches/patch-bt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net/arla/patches/patch-bt b/net/arla/patches/patch-bt new file mode 100644 index 00000000000..911e5c5e3c2 --- /dev/null +++ b/net/arla/patches/patch-bt @@ -0,0 +1,18 @@ +# $NetBSD: patch-bt,v 1.1 2002/09/23 14:37:19 wennmach Exp $ + +Fix a problem with VOP_PUTPAGES on NetBSD-1.6. From Love <lha@netbsd.org>. + +diff -u -u -w -r1.87.2.8 -r1.87.2.9 +--- xfs/bsd/xfs_vnodeops-bsd.c 2002/08/02 07:46:57 1.87.2.8 ++++ xfs/bsd/xfs_vnodeops-bsd.c 2002/09/22 15:25:40 1.87.2.9 +@@ -974,6 +974,9 @@ + + XFSDEB(XDEBVNOPS, ("xfs_putpages\n")); + ++ if (t == NULL) ++ return 0; ++ + xn->flags |= XFS_DATA_DIRTY; + + #ifdef HAVE_STRUCT_VOP_PUTPAGES_ARGS_A_SYNC /* FreeBSD-style */ + |