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
/
orangefs
/
super.c
diff --git
a/fs/orangefs/super.c
b/fs/orangefs/super.c
index d90d8addbfc29ee45b8b571e6324f792162886de..5254256a224d7a0a78f9673a42dc7df386370a4a 100644
(file)
--- a/
fs/orangefs/super.c
+++ b/
fs/orangefs/super.c
@@
-107,7
+107,7
@@
static struct inode *orangefs_alloc_inode(struct super_block *sb)
{
struct orangefs_inode_s *orangefs_inode;
- orangefs_inode =
kmem_cache_alloc(
orangefs_inode_cache, GFP_KERNEL);
+ orangefs_inode =
alloc_inode_sb(sb,
orangefs_inode_cache, GFP_KERNEL);
if (!orangefs_inode)
return NULL;