Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 215486 | Differences between
and this patch

Collapse All | Expand All

(-)shfs/Linux-2.6/fcache.c.orig (-2 / +2 lines)
Lines 29-40 Link Here
29
	char          	*data;
29
	char          	*data;
30
};
30
};
31
31
32
kmem_cache_t	*file_cache = NULL;
32
static struct kmem_cache *file_cache = NULL;
33
33
34
void
34
void
35
fcache_init(void)
35
fcache_init(void)
36
{
36
{
37
	file_cache = kmem_cache_create("shfs_file", sizeof(struct shfs_file), 0, 0, NULL, NULL);
37
	file_cache = kmem_cache_create("shfs_file", sizeof(struct shfs_file), 0, SLAB_HWCACHE_ALIGN, NULL);
38
	DEBUG("file_cache: %p\n", file_cache);
38
	DEBUG("file_cache: %p\n", file_cache);
39
}
39
}
40
40

Return to bug 215486