whitespace

This commit is contained in:
Poul-Henning Kamp 2004-11-04 08:25:52 +00:00
parent 4d6b7f436d
commit 9bc4d9a495
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137188

View File

@ -89,7 +89,7 @@ struct buf *buf; /* buffer header pool */
static struct proc *bufdaemonproc;
static int inmem(struct vnode * vp, daddr_t blkno);
static int inmem(struct vnode *vp, daddr_t blkno);
static void vm_hold_free_pages(struct buf *bp, vm_offset_t from,
vm_offset_t to);
static void vm_hold_load_pages(struct buf *bp, vm_offset_t from,
@ -3531,10 +3531,8 @@ vfs_bio_set_validclean(struct buf *bp, int base, int size)
vm_page_lock_queues();
for (i = base / PAGE_SIZE; size > 0 && i < bp->b_npages; ++i) {
m = bp->b_pages[i];
if (n > size)
n = size;
vm_page_set_validclean(m, base & PAGE_MASK, n);
base += n;
size -= n;
@ -3603,7 +3601,7 @@ vfs_bio_clrbuf(struct buf *bp)
} else {
for (; sa < ea; sa += DEV_BSIZE, j++) {
if (((bp->b_pages[i]->flags & PG_ZERO) == 0) &&
(bp->b_pages[i]->valid & (1<<j)) == 0)
(bp->b_pages[i]->valid & (1 << j)) == 0)
bzero(sa, DEV_BSIZE);
}
}