X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Fdcookies.c;h=792cbf55fa9592cefbd6b2446ed26d573301beee;hb=308ba3ece7db82e8b8d32d6962e4d12e09c5aa41;hp=0c4b0674854bbe0a47506a00ea1b5ef4b2529e4d;hpb=b197ba3c70638a3a2ae39296781912f26ac0f991;p=mv-sheeva.git diff --git a/fs/dcookies.c b/fs/dcookies.c index 0c4b0674854..792cbf55fa9 100644 --- a/fs/dcookies.c +++ b/fs/dcookies.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include @@ -37,7 +38,7 @@ struct dcookie_struct { static LIST_HEAD(dcookie_users); static DEFINE_MUTEX(dcookie_mutex); -static kmem_cache_t *dcookie_cache __read_mostly; +static struct kmem_cache *dcookie_cache __read_mostly; static struct list_head *dcookie_hashtable __read_mostly; static size_t hash_size __read_mostly; @@ -205,7 +206,7 @@ static int dcookie_init(void) dcookie_cache = kmem_cache_create("dcookie_cache", sizeof(struct dcookie_struct), - 0, 0, NULL, NULL); + 0, 0, NULL); if (!dcookie_cache) goto out;