"Michael S. Zick":
> Found it!

Congratulation.


> Which course would you like to see - a simple rename everywhere,
> or major change to look it up in the header file rather than grep for it?
> There should be a CONFIG_VSERVER (or such like) for conditional tests.

How about this one?

Makefile:
if (kernel version is under 2.6.24 or VSERVER is disabled)
        grep TMPFS_MAGIC
endif

aufs.h:
if (kernel version is above 2.6.24 or VSERVER is enabled)
        include the header file
        define TMPFS_MAGIC TMPFS_SUPER_MAGIC
endif

and leave everything as it is.


Junjiro Okajima

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

Reply via email to