diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2009-03-09 19:35:20 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2009-03-09 19:35:20 +0000 |
| commit | 5bd65606f4466e6023888b87387211adb460edc8 (patch) | |
| tree | fa5afa97f873f392e028df96bcfc150033e0a387 /sys/vm/vnode_pager.c | |
| parent | f3106cde19bf908b238b25756217f93245deac95 (diff) | |
Notes
Diffstat (limited to 'sys/vm/vnode_pager.c')
| -rw-r--r-- | sys/vm/vnode_pager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c index 53658fbd9884..e8c79586299e 100644 --- a/sys/vm/vnode_pager.c +++ b/sys/vm/vnode_pager.c @@ -525,7 +525,7 @@ vnode_pager_input_smlfs(object, m) bp->b_bcount = bsize; bp->b_bufsize = bsize; bp->b_runningbufspace = bp->b_bufsize; - atomic_add_int(&runningbufspace, bp->b_runningbufspace); + atomic_add_long(&runningbufspace, bp->b_runningbufspace); /* do the input */ bp->b_iooffset = dbtob(bp->b_blkno); @@ -905,7 +905,7 @@ vnode_pager_generic_getpages(vp, m, bytecount, reqpage) bp->b_bcount = size; bp->b_bufsize = size; bp->b_runningbufspace = bp->b_bufsize; - atomic_add_int(&runningbufspace, bp->b_runningbufspace); + atomic_add_long(&runningbufspace, bp->b_runningbufspace); PCPU_INC(cnt.v_vnodein); PCPU_ADD(cnt.v_vnodepgsin, count); |
