Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/puffs use MAX_PAGE_SIZE.
details: https://anonhg.NetBSD.org/src/rev/e88a75f90d8a
branches: trunk
changeset: 352493:e88a75f90d8a
user: christos <christos%NetBSD.org@localhost>
date: Tue Apr 04 21:07:50 2017 +0000
description:
use MAX_PAGE_SIZE.
diffstat:
sys/fs/puffs/puffs_vnops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c712884861d6 -r e88a75f90d8a sys/fs/puffs/puffs_vnops.c
--- a/sys/fs/puffs/puffs_vnops.c Tue Apr 04 16:49:15 2017 +0000
+++ b/sys/fs/puffs/puffs_vnops.c Tue Apr 04 21:07:50 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: puffs_vnops.c,v 1.205 2016/07/21 18:21:27 christos Exp $ */
+/* $NetBSD: puffs_vnops.c,v 1.206 2017/04/04 21:07:50 christos Exp $ */
/*
* Copyright (c) 2005, 2006, 2007 Antti Kantee. All Rights Reserved.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: puffs_vnops.c,v 1.205 2016/07/21 18:21:27 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: puffs_vnops.c,v 1.206 2017/04/04 21:07:50 christos Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@@ -1147,7 +1147,7 @@
static void
zerofill_lastpage(struct vnode *vp, voff_t off)
{
- char zbuf[16384];
+ char zbuf[MAX_PAGE_SIZE];
struct iovec iov;
struct uio uio;
vsize_t len;
Home |
Main Index |
Thread Index |
Old Index