git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
fs
/
proc
/
inode.c
diff --git
a/fs/proc/inode.c
b/fs/proc/inode.c
index
b1f53f4
..
5b0367f
100644
(file)
--- a/
fs/proc/inode.c
+++ b/
fs/proc/inode.c
@@
-81,14
+81,14
@@
static void proc_read_inode(struct inode * inode)
inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME;
}
inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME;
}
-static
kmem_cache_t
* proc_inode_cachep;
+static
struct kmem_cache
* proc_inode_cachep;
static struct inode *proc_alloc_inode(struct super_block *sb)
{
struct proc_inode *ei;
struct inode *inode;
static struct inode *proc_alloc_inode(struct super_block *sb)
{
struct proc_inode *ei;
struct inode *inode;
- ei = (struct proc_inode *)kmem_cache_alloc(proc_inode_cachep,
SLAB
_KERNEL);
+ ei = (struct proc_inode *)kmem_cache_alloc(proc_inode_cachep,
GFP
_KERNEL);
if (!ei)
return NULL;
ei->pid = NULL;
if (!ei)
return NULL;
ei->pid = NULL;
@@
-105,7
+105,7
@@
static void proc_destroy_inode(struct inode *inode)
kmem_cache_free(proc_inode_cachep, PROC_I(inode));
}
kmem_cache_free(proc_inode_cachep, PROC_I(inode));
}
-static void init_once(void * foo,
kmem_cache_t
* cachep, unsigned long flags)
+static void init_once(void * foo,
struct kmem_cache
* cachep, unsigned long flags)
{
struct proc_inode *ei = (struct proc_inode *) foo;
{
struct proc_inode *ei = (struct proc_inode *) foo;