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
/
overlayfs
/
super.c
diff --git
a/fs/overlayfs/super.c
b/fs/overlayfs/super.c
index 7bb0a47cb6156d997a2733b7c50bb2aabab79be8..001cdbb8f015212b3bf2ade964adaf82294954b1 100644
(file)
--- a/
fs/overlayfs/super.c
+++ b/
fs/overlayfs/super.c
@@
-174,7
+174,7
@@
static struct kmem_cache *ovl_inode_cachep;
static struct inode *ovl_alloc_inode(struct super_block *sb)
{
- struct ovl_inode *oi =
kmem_cache_alloc(
ovl_inode_cachep, GFP_KERNEL);
+ struct ovl_inode *oi =
alloc_inode_sb(sb,
ovl_inode_cachep, GFP_KERNEL);
if (!oi)
return NULL;