yar dbcb706f58 Work around the shortness of the size argument to
vnode_create_vobject() while preserving the binary ABI
to filesystem modules in RELENG_6: introduce a new function
vnode_create_vobject_off() that takes the size argument
as off_t; move all stock file systems to it; re-implement
the old vnode_create_vobject() using vnode_create_vobject_off()
so that old or binary-only FS modules can work w/o hitting the
bug.  The trick is to pass a size of 0 to vnode_create_vobject_off()
so that it will call VOP_GETATTR() and thus get the actual,
untruncated file size even if the calling module still uses
the old vnode_create_vobject().

PR:		kern/92243
Approved by:	re (scottl)
2006-02-20 00:53:15 +00:00
..
MFC
2005-11-13 21:45:49 +00:00
MFC
2005-08-20 06:07:55 +00:00
MFC
2005-11-13 08:44:25 +00:00
MFC
2005-11-13 21:45:49 +00:00
MFC
2005-11-13 21:45:49 +00:00
2005-12-26 13:47:20 +00:00
MFC
2005-11-13 08:44:25 +00:00
2005-10-09 03:25:37 +00:00