yar 2006-02-01 12:43:13 UTC
FreeBSD src repository
Use off_t for file size passed to vnode_create_vobject().
The former type, size_t, was causing truncation to 32 bits on i386,
which immediately led to undersizing of VM objects backed by
files >4GB. In particular, sendfile(2) was broken for such files.
MFC after: 5 days
Revision Changes Path
1.313 +1 -1 src/sys/sys/vnode.h
1.225 +1 -1 src/sys/vm/vnode_pager.c