オープンソース・ソフトウェアの開発とダウンロード

Subversion リポジトリの参照

Diff of /trunk/1.6.x/ccs-patch/fs/realpath.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/ccs-patch/fs/realpath.c revision 214 by kumaneko, Wed May 16 10:04:31 2007 UTC trunk/1.5.x/ccs-patch/fs/realpath.c revision 325 by kumaneko, Mon Aug 6 12:55:41 2007 UTC
# Line 5  Line 5 
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.
# Line 378  static kmem_cache_t *ccs_cachep = NULL; Line 378  static kmem_cache_t *ccs_cachep = NULL;
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

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26