git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs: allocate inode by using alloc_inode_sb()
[sfrench/cifs-2.6.git]
/
fs
/
affs
/
super.c
diff --git
a/fs/affs/super.c
b/fs/affs/super.c
index c609005a9eaaa6d6c3b466f793218b723b37ad33..4c5f30a833362a67d8fbec022746ba06b87390fb 100644
(file)
--- a/
fs/affs/super.c
+++ b/
fs/affs/super.c
@@
-100,7
+100,7
@@
static struct inode *affs_alloc_inode(struct super_block *sb)
{
struct affs_inode_info *i;
- i =
kmem_cache_alloc(
affs_inode_cachep, GFP_KERNEL);
+ i =
alloc_inode_sb(sb,
affs_inode_cachep, GFP_KERNEL);
if (!i)
return NULL;