dbcb706f58
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) |
||
---|---|---|
.. | ||
ffs | ||
ufs |