Making Linux stat() less evil

Roman Divacky rdivacky at FreeBSD.org
Fri Feb 20 04:25:49 PST 2009


On Fri, Feb 20, 2009 at 01:19:52PM +0100, Roman Divacky wrote:
> On Thu, Feb 19, 2009 at 10:27:49PM +0100, Ed Schouten wrote:
> > Roman,
> > 
> > After some discussion with kib@ on IRC, I changed the patch a little: I
> > added a new function called kern_statat_vnhook(). This function allows
> > the Linuxolator to use a hook to modify struct stat, to reduce some
> > redundant code:
> > 
> > 	http://80386.nl/pub/linux-stat.diff
> 
> looks ok to me.. I'd just use __predict_false() to the condition
                            ^^^ add


More information about the freebsd-emulation mailing list