diff options
Diffstat (limited to 'fs/xfs/linux-2.6')
-rw-r--r-- | fs/xfs/linux-2.6/kmem.h | 2 | ||||
-rw-r--r-- | fs/xfs/linux-2.6/xfs_super.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/fs/xfs/linux-2.6/kmem.h b/fs/xfs/linux-2.6/kmem.h index e6ea293f303c..5e9564902976 100644 --- a/fs/xfs/linux-2.6/kmem.h +++ b/fs/xfs/linux-2.6/kmem.h | |||
@@ -79,7 +79,7 @@ kmem_zone_init(int size, char *zone_name) | |||
79 | 79 | ||
80 | static inline kmem_zone_t * | 80 | static inline kmem_zone_t * |
81 | kmem_zone_init_flags(int size, char *zone_name, unsigned long flags, | 81 | kmem_zone_init_flags(int size, char *zone_name, unsigned long flags, |
82 | void (*construct)(void *, kmem_zone_t *, unsigned long)) | 82 | void (*construct)(kmem_zone_t *, void *)) |
83 | { | 83 | { |
84 | return kmem_cache_create(zone_name, size, 0, flags, construct); | 84 | return kmem_cache_create(zone_name, size, 0, flags, construct); |
85 | } | 85 | } |
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c index 491d1f4f202d..9c7d8202088f 100644 --- a/fs/xfs/linux-2.6/xfs_super.c +++ b/fs/xfs/linux-2.6/xfs_super.c | |||
@@ -356,9 +356,8 @@ xfs_fs_destroy_inode( | |||
356 | 356 | ||
357 | STATIC void | 357 | STATIC void |
358 | xfs_fs_inode_init_once( | 358 | xfs_fs_inode_init_once( |
359 | void *vnode, | ||
360 | kmem_zone_t *zonep, | 359 | kmem_zone_t *zonep, |
361 | unsigned long flags) | 360 | void *vnode) |
362 | { | 361 | { |
363 | inode_init_once(vn_to_inode((bhv_vnode_t *)vnode)); | 362 | inode_init_once(vn_to_inode((bhv_vnode_t *)vnode)); |
364 | } | 363 | } |