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
f614ee1e
Commit
f614ee1e
authored
Apr 15, 2019
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
securityfs: switch to ->free_inode()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
27afa27d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
security/inode.c
security/inode.c
+2
-8
No files found.
security/inode.c
View file @
f614ee1e
...
...
@@ -27,22 +27,16 @@
static
struct
vfsmount
*
mount
;
static
int
mount_count
;
static
void
securityfs_
i_callback
(
struct
rcu_head
*
head
)
static
void
securityfs_
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
securityfs_destroy_inode
(
struct
inode
*
inode
)
{
call_rcu
(
&
inode
->
i_rcu
,
securityfs_i_callback
);
}
static
const
struct
super_operations
securityfs_super_operations
=
{
.
statfs
=
simple_statfs
,
.
destroy_inode
=
securityfs_destroy
_inode
,
.
free_inode
=
securityfs_free
_inode
,
};
static
int
fill_super
(
struct
super_block
*
sb
,
void
*
data
,
int
silent
)
...
...
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