From d2569be355e0afffad1042bf64acfdd7bc2bfe6d Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 25 Apr 1999 00:36:48 +0000 Subject: Reading large file from ext2fs caused vm_fault; gluk@ecsc.mipt.ru Approved by csapuntz@openbsd.org --- sys/ufs/ext2fs/ext2fs_bmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/ufs/ext2fs') diff --git a/sys/ufs/ext2fs/ext2fs_bmap.c b/sys/ufs/ext2fs/ext2fs_bmap.c index d64eddf39d6..ce8dfa15968 100644 --- a/sys/ufs/ext2fs/ext2fs_bmap.c +++ b/sys/ufs/ext2fs/ext2fs_bmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs_bmap.c,v 1.3 1997/06/12 21:09:31 downsj Exp $ */ +/* $OpenBSD: ext2fs_bmap.c,v 1.4 1999/04/25 00:36:46 millert Exp $ */ /* $NetBSD: ext2fs_bmap.c,v 1.1 1997/06/11 09:33:46 bouyer Exp $ */ /* @@ -120,7 +120,7 @@ ext2fs_bmaparray(vp, bn, bnp, ap, nump, runp) struct ufsmount *ump; struct mount *mp; struct vnode *devvp; - struct indir a[NIADDR], *xap; + struct indir a[NIADDR+1], *xap; daddr_t daddr; long metalbn; int error, maxrun = 0, num; -- cgit v1.2.3