projects
/
linux-2.6-microblaze.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()
[linux-2.6-microblaze.git]
/
fs
/
ocfs2
/
super.c
diff --git
a/fs/ocfs2/super.c
b/fs/ocfs2/super.c
index
8bde30f
..
477cdf9
100644
(file)
--- a/
fs/ocfs2/super.c
+++ b/
fs/ocfs2/super.c
@@
-548,7
+548,7
@@
static struct inode *ocfs2_alloc_inode(struct super_block *sb)
{
struct ocfs2_inode_info *oi;
- oi =
kmem_cache_alloc(
ocfs2_inode_cachep, GFP_NOFS);
+ oi =
alloc_inode_sb(sb,
ocfs2_inode_cachep, GFP_NOFS);
if (!oi)
return NULL;