projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] eCryptfs: convert kmap() to kmap_atomic()
[powerpc.git]
/
fs
/
efs
/
super.c
diff --git
a/fs/efs/super.c
b/fs/efs/super.c
index
b3f5065
..
dfebf21
100644
(file)
--- a/
fs/efs/super.c
+++ b/
fs/efs/super.c
@@
-52,12
+52,12
@@
static struct pt_types sgi_pt_types[] = {
};
};
-static
kmem_cache_t
* efs_inode_cachep;
+static
struct kmem_cache
* efs_inode_cachep;
static struct inode *efs_alloc_inode(struct super_block *sb)
{
struct efs_inode_info *ei;
static struct inode *efs_alloc_inode(struct super_block *sb)
{
struct efs_inode_info *ei;
- ei = (struct efs_inode_info *)kmem_cache_alloc(efs_inode_cachep,
SLAB
_KERNEL);
+ ei = (struct efs_inode_info *)kmem_cache_alloc(efs_inode_cachep,
GFP
_KERNEL);
if (!ei)
return NULL;
return &ei->vfs_inode;
if (!ei)
return NULL;
return &ei->vfs_inode;
@@
-68,7
+68,7
@@
static void efs_destroy_inode(struct inode *inode)
kmem_cache_free(efs_inode_cachep, INODE_INFO(inode));
}
kmem_cache_free(efs_inode_cachep, INODE_INFO(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 efs_inode_info *ei = (struct efs_inode_info *) foo;
{
struct efs_inode_info *ei = (struct efs_inode_info *) foo;