NFS ftruncate patch for review
Tim Robbins
tjr at FreeBSD.ORG
Sat Jul 19 19:22:36 PDT 2003
On Fri, Jul 18, 2003 at 04:41:20PM +1000, Tim Robbins wrote:
> Any comments on this patch? The referenced PR contains more comments and a
> test program. It's not obvious from the diff, but the changes are to
> nfs_setattr() in the va_size != VNOVAL && v_type == VREG case.
It turns out that it's nfs_loadattrcache() that is changing n_size when called
indirectly from nfs_meta_setsize() in the test case. (Re-)setting n_size before
returning from nfs_setattr() is still correct, but the comment was wrong.
Tim
More information about the freebsd-fs
mailing list