 The kmem_cache_create check depends on kmem_cache_t for context, but
 2.6.22 switched to struct kmem_cache instead. This patch fixes the test.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/configure.in	2008-02-02 10:47:18.000000000 -0500
+++ b/configure.in	2008-02-02 10:47:31.000000000 -0500
@@ -206,7 +206,7 @@ KAPI_COMPAT_HEADERS="$KAPI_COMPAT_HEADER
 
 KMEM_CACHE_CREATE_DTOR=
 OCFS2_CHECK_KERNEL([kmem_cache_create() with dtor arg in slab.h], slab.h,
-  KMEM_CACHE_CREATE_DTOR=yes, , [^.*void (\*)(void \*, kmem_cache_t \*, unsigned long),])
+  KMEM_CACHE_CREATE_DTOR=yes, , [^.*void (\*)(void \*, .*kmem_cache.* \*, unsigned long),])
 AC_SUBST(KMEM_CACHE_CREATE_DTOR)
 KAPI_COMPAT_HEADERS="$KAPI_COMPAT_HEADERS slab.h"
 



