summaryrefslogtreecommitdiffstats
path: root/fs/romfs/super.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-08-08 14:23:01 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-08 15:57:25 -0700
commitb6d53b1b113492632bdc37ee9ab1dda8b9a4bf34 (patch)
treedb5a765ed203f54e5e57a9b781f4733a95a5a9fd /fs/romfs/super.c
parentca9e5368a7d993558a39c327fa3991ec242ea4c3 (diff)
downloadop-kernel-dev-b6d53b1b113492632bdc37ee9ab1dda8b9a4bf34.zip
op-kernel-dev-b6d53b1b113492632bdc37ee9ab1dda8b9a4bf34.tar.gz
fs/romfs/super.c: add blank line after declarations
Fix checkpatch warning: WARNING: Missing a blank line after declarations Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/romfs/super.c')
-rw-r--r--fs/romfs/super.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/romfs/super.c b/fs/romfs/super.c
index 6e73879..e98dd88 100644
--- a/fs/romfs/super.c
+++ b/fs/romfs/super.c
@@ -392,6 +392,7 @@ error:
static struct inode *romfs_alloc_inode(struct super_block *sb)
{
struct romfs_inode_info *inode;
+
inode = kmem_cache_alloc(romfs_inode_cachep, GFP_KERNEL);
return inode ? &inode->vfs_inode : NULL;
}
@@ -402,6 +403,7 @@ static struct inode *romfs_alloc_inode(struct super_block *sb)
static void romfs_i_callback(struct rcu_head *head)
{
struct inode *inode = container_of(head, struct inode, i_rcu);
+
kmem_cache_free(romfs_inode_cachep, ROMFS_I(inode));
}
OpenPOWER on IntegriCloud