cvs commit: src/sys/sys vnode.h src/sys/vm vnode_pager.c

Yar Tikhiy yar at
Wed Feb 1 04:43:14 PST 2006

yar         2006-02-01 12:43:13 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              vnode.h 
    sys/vm               vnode_pager.c 
  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.
  PR:             kern/92243
  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

More information about the cvs-src mailing list