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
6234ddf4
Commit
6234ddf4
authored
Apr 14, 2019
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugfs: switch to ->free_inode()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
c2e6802e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
fs/debugfs/inode.c
fs/debugfs/inode.c
+2
-8
No files found.
fs/debugfs/inode.c
View file @
6234ddf4
...
...
@@ -163,24 +163,18 @@ static int debugfs_show_options(struct seq_file *m, struct dentry *root)
return
0
;
}
static
void
debugfs_
i_callback
(
struct
rcu_head
*
head
)
static
void
debugfs_
free_inode
(
struct
inode
*
inode
)
{
struct
inode
*
inode
=
container_of
(
head
,
struct
inode
,
i_rcu
);
if
(
S_ISLNK
(
inode
->
i_mode
))
kfree
(
inode
->
i_link
);
free_inode_nonrcu
(
inode
);
}
static
void
debugfs_destroy_inode
(
struct
inode
*
inode
)
{
call_rcu
(
&
inode
->
i_rcu
,
debugfs_i_callback
);
}
static
const
struct
super_operations
debugfs_super_operations
=
{
.
statfs
=
simple_statfs
,
.
remount_fs
=
debugfs_remount
,
.
show_options
=
debugfs_show_options
,
.
destroy_inode
=
debugfs_destroy
_inode
,
.
free_inode
=
debugfs_free
_inode
,
};
static
void
debugfs_release_dentry
(
struct
dentry
*
dentry
)
...
...
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