Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
bcb8d71b
Commit
bcb8d71b
authored
Apr 15, 2019
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
romfs: convert to ->free_inode()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
a5a8cbea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
fs/romfs/super.c
fs/romfs/super.c
+2
-9
No files found.
fs/romfs/super.c
View file @
bcb8d71b
...
...
@@ -381,18 +381,11 @@ static struct inode *romfs_alloc_inode(struct super_block *sb)
/*
* return a spent inode to the slab cache
*/
static
void
romfs_
i_callback
(
struct
rcu_head
*
head
)
static
void
romfs_
free_inode
(
struct
inode
*
inode
)
{
struct
inode
*
inode
=
container_of
(
head
,
struct
inode
,
i_rcu
);
kmem_cache_free
(
romfs_inode_cachep
,
ROMFS_I
(
inode
));
}
static
void
romfs_destroy_inode
(
struct
inode
*
inode
)
{
call_rcu
(
&
inode
->
i_rcu
,
romfs_i_callback
);
}
/*
* get filesystem statistics
*/
...
...
@@ -439,7 +432,7 @@ static int romfs_remount(struct super_block *sb, int *flags, char *data)
static
const
struct
super_operations
romfs_super_ops
=
{
.
alloc_inode
=
romfs_alloc_inode
,
.
destroy_inode
=
romfs_destroy
_inode
,
.
free_inode
=
romfs_free
_inode
,
.
statfs
=
romfs_statfs
,
.
remount_fs
=
romfs_remount
,
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment