mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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>
This commit is contained in:
parent
ca9e5368a7
commit
b6d53b1b11
1 changed files with 2 additions and 0 deletions
|
@ -392,6 +392,7 @@ error:
|
||||||
static struct inode *romfs_alloc_inode(struct super_block *sb)
|
static struct inode *romfs_alloc_inode(struct super_block *sb)
|
||||||
{
|
{
|
||||||
struct romfs_inode_info *inode;
|
struct romfs_inode_info *inode;
|
||||||
|
|
||||||
inode = kmem_cache_alloc(romfs_inode_cachep, GFP_KERNEL);
|
inode = kmem_cache_alloc(romfs_inode_cachep, GFP_KERNEL);
|
||||||
return inode ? &inode->vfs_inode : NULL;
|
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)
|
static void romfs_i_callback(struct rcu_head *head)
|
||||||
{
|
{
|
||||||
struct inode *inode = container_of(head, struct inode, i_rcu);
|
struct inode *inode = container_of(head, struct inode, i_rcu);
|
||||||
|
|
||||||
kmem_cache_free(romfs_inode_cachep, ROMFS_I(inode));
|
kmem_cache_free(romfs_inode_cachep, ROMFS_I(inode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue