Subversion リポジトリの参照
Diff of /trunk/1.6.x/ccs-patch/fs/realpath.c
Parent Directory
| Revision Log
| Patch
5 |
* |
* |
6 |
* Copyright (C) 2005-2007 NTT DATA CORPORATION |
* Copyright (C) 2005-2007 NTT DATA CORPORATION |
7 |
* |
* |
8 |
* Version: 1.4 2007/04/01 |
* Version: 1.5.0-pre 2007/08/06 |
9 |
* |
* |
10 |
* This file is applicable to both 2.4.30 and 2.6.11 and later. |
* This file is applicable to both 2.4.30 and 2.6.11 and later. |
11 |
* See README.ccs for ChangeLog. |
* See README.ccs for ChangeLog. |
378 |
|
|
379 |
void __init realpath_Init(void) |
void __init realpath_Init(void) |
380 |
{ |
{ |
381 |
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23) |
382 |
|
ccs_cachep = kmem_cache_create("ccs_cache", sizeof(struct cache_entry), 0, 0, NULL); |
383 |
|
#else |
384 |
ccs_cachep = kmem_cache_create("ccs_cache", sizeof(struct cache_entry), 0, 0, NULL, NULL); |
ccs_cachep = kmem_cache_create("ccs_cache", sizeof(struct cache_entry), 0, 0, NULL, NULL); |
385 |
|
#endif |
386 |
if (!ccs_cachep) panic("Can't create cache.\n"); |
if (!ccs_cachep) panic("Can't create cache.\n"); |
387 |
} |
} |
388 |
|
|
|
Legend:
Removed from v.214 |
|
changed lines |
|
Added in v.325 |
|
|
| |