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
56b5af19
Commit
56b5af19
authored
Apr 15, 2019
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
squashfs: switch to ->free_inode()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
bcb8d71b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
fs/squashfs/super.c
fs/squashfs/super.c
+2
-9
No files found.
fs/squashfs/super.c
View file @
56b5af19
...
@@ -473,18 +473,11 @@ static struct inode *squashfs_alloc_inode(struct super_block *sb)
...
@@ -473,18 +473,11 @@ static struct inode *squashfs_alloc_inode(struct super_block *sb)
}
}
static
void
squashfs_
i_callback
(
struct
rcu_head
*
head
)
static
void
squashfs_
free_inode
(
struct
inode
*
inode
)
{
{
struct
inode
*
inode
=
container_of
(
head
,
struct
inode
,
i_rcu
);
kmem_cache_free
(
squashfs_inode_cachep
,
squashfs_i
(
inode
));
kmem_cache_free
(
squashfs_inode_cachep
,
squashfs_i
(
inode
));
}
}
static
void
squashfs_destroy_inode
(
struct
inode
*
inode
)
{
call_rcu
(
&
inode
->
i_rcu
,
squashfs_i_callback
);
}
static
struct
file_system_type
squashfs_fs_type
=
{
static
struct
file_system_type
squashfs_fs_type
=
{
.
owner
=
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
.
name
=
"squashfs"
,
.
name
=
"squashfs"
,
...
@@ -496,7 +489,7 @@ MODULE_ALIAS_FS("squashfs");
...
@@ -496,7 +489,7 @@ MODULE_ALIAS_FS("squashfs");
static
const
struct
super_operations
squashfs_super_ops
=
{
static
const
struct
super_operations
squashfs_super_ops
=
{
.
alloc_inode
=
squashfs_alloc_inode
,
.
alloc_inode
=
squashfs_alloc_inode
,
.
destroy_inode
=
squashfs_destroy
_inode
,
.
free_inode
=
squashfs_free
_inode
,
.
statfs
=
squashfs_statfs
,
.
statfs
=
squashfs_statfs
,
.
put_super
=
squashfs_put_super
,
.
put_super
=
squashfs_put_super
,
.
remount_fs
=
squashfs_remount
.
remount_fs
=
squashfs_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