[Ocfs2-test-devel] [PATCH 0/2] Ocfs2-test: Add api-compat for ocfs2 to use system call better.

tristan.ye tristan.ye at oracle.com
Tue Apr 14 21:19:42 PDT 2009


This methodology was ported from ocfs2-1.4, it guarantees to use the
latest
system call from mainline, and an alternative old version will be used
from our
compat code only if the wanted call was not contained in kernel header.
The patch
also fix a compiling error on some distributions with existing code.

We can easily remove the compat code from building infrastructure
without main code
modified when the older kernel is desupported someday.

First patch is to port api-compat from ocfs2 to ocfs2-test.

Second patch is to modify spice_test accordingly to add api-compat
support for it.

Tristan





More information about the Ocfs2-test-devel mailing list