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
/
ocfs2
/
super.c
diff --git
a/fs/ocfs2/super.c
b/fs/ocfs2/super.c
index 8bde30fa5387da471497af21244ca056ff5a8b24..477cdf94122e7745a72ccf7af8895f20f2861dfb 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;