diff options
author | Paul Mackerras <paulus@samba.org> | 2005-11-07 19:14:20 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-07 19:14:20 -0500 |
commit | 24bfb00123e82a2e70bd115277d922438813515b (patch) | |
tree | 27328b8a5718e16d64e2d101f4b7ddcad5930aed /fs/file_table.c | |
parent | c6135234550ed89a6fd0e8cb229633967e41d649 (diff) | |
parent | 3f00d3e8fb963968a922d821a9a53b503b687e81 (diff) |
Merge ../linux-2.6
Diffstat (limited to 'fs/file_table.c')
-rw-r--r-- | fs/file_table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/file_table.c b/fs/file_table.c index 4dc205546547..c3a5e2fd663b 100644 --- a/fs/file_table.c +++ b/fs/file_table.c | |||
@@ -35,7 +35,7 @@ static DEFINE_SPINLOCK(filp_count_lock); | |||
35 | * context and must be fully threaded - use a local spinlock | 35 | * context and must be fully threaded - use a local spinlock |
36 | * to protect files_stat.nr_files | 36 | * to protect files_stat.nr_files |
37 | */ | 37 | */ |
38 | void filp_ctor(void * objp, struct kmem_cache_s *cachep, unsigned long cflags) | 38 | void filp_ctor(void *objp, struct kmem_cache *cachep, unsigned long cflags) |
39 | { | 39 | { |
40 | if ((cflags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) == | 40 | if ((cflags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) == |
41 | SLAB_CTOR_CONSTRUCTOR) { | 41 | SLAB_CTOR_CONSTRUCTOR) { |
@@ -46,7 +46,7 @@ void filp_ctor(void * objp, struct kmem_cache_s *cachep, unsigned long cflags) | |||
46 | } | 46 | } |
47 | } | 47 | } |
48 | 48 | ||
49 | void filp_dtor(void * objp, struct kmem_cache_s *cachep, unsigned long dflags) | 49 | void filp_dtor(void *objp, struct kmem_cache *cachep, unsigned long dflags) |
50 | { | 50 | { |
51 | unsigned long flags; | 51 | unsigned long flags; |
52 | spin_lock_irqsave(&filp_count_lock, flags); | 52 | spin_lock_irqsave(&filp_count_lock, flags); |