i=fanyong
key may not be NULL terminated on HEAD, so change KEY_IS() macro to use strncmp() instead of strcmp.
#define OBD_SLAB_FREE_PTR(ptr, slab) \
OBD_SLAB_FREE((ptr), (slab), sizeof *(ptr))
-#define KEY_IS(str) (keylen >= strlen(str) && strcmp(key, str) == 0)
+#define KEY_IS(str) (keylen >= strlen(str) && strncmp(key, str, keylen) == 0)
/* Wrapper for contiguous page frame allocation */
#define OBD_PAGES_ALLOC(ptr, order, gfp_mask) \