projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SUNRPC]: Make sure on-stack cmsg buffer is properly aligned.
[powerpc.git]
/
fs
/
efs
/
super.c
diff --git
a/fs/efs/super.c
b/fs/efs/super.c
index
69b15a9
..
c2235e4
100644
(file)
--- a/
fs/efs/super.c
+++ b/
fs/efs/super.c
@@
-52,7
+52,7
@@
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)
{
static struct inode *efs_alloc_inode(struct super_block *sb)
{
@@
-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;
@@
-105,7
+105,7
@@
static int efs_remount(struct super_block *sb, int *flags, char *data)
return 0;
}
return 0;
}
-static struct super_operations efs_superblock_operations = {
+static
const
struct super_operations efs_superblock_operations = {
.alloc_inode = efs_alloc_inode,
.destroy_inode = efs_destroy_inode,
.read_inode = efs_read_inode,
.alloc_inode = efs_alloc_inode,
.destroy_inode = efs_destroy_inode,
.read_inode = efs_read_inode,