https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255523
Rick Macklem <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #224599|0 |1 is obsolete| | Assignee|[email protected] |[email protected] --- Comment #5 from Rick Macklem <[email protected]> --- Created attachment 224603 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224603&action=edit add support for a hole to eof to vn_generic_copy_range() Update patch as suggested by asomers@. Moving the VOP_GETATTR() is actually a fix, since "goto out;" assumes an unlocked invp. It also is slightly optimized, since the inva are only needed if holein > 0. I moved the initialization of holetoeof to above the loop, since it easier to spot there (and I thoght style(9) frowned on initializations in declarations). No semntics change unless VOP_GETATTR() fails for some reason. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
