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
45c2a3ff
Commit
45c2a3ff
authored
Apr 15, 2019
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qnx6: switch to ->free_inode()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
bc40ddd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
fs/qnx6/inode.c
fs/qnx6/inode.c
+3
-9
No files found.
fs/qnx6/inode.c
View file @
45c2a3ff
...
...
@@ -29,14 +29,14 @@ static const struct super_operations qnx6_sops;
static
void
qnx6_put_super
(
struct
super_block
*
sb
);
static
struct
inode
*
qnx6_alloc_inode
(
struct
super_block
*
sb
);
static
void
qnx6_
destroy
_inode
(
struct
inode
*
inode
);
static
void
qnx6_
free
_inode
(
struct
inode
*
inode
);
static
int
qnx6_remount
(
struct
super_block
*
sb
,
int
*
flags
,
char
*
data
);
static
int
qnx6_statfs
(
struct
dentry
*
dentry
,
struct
kstatfs
*
buf
);
static
int
qnx6_show_options
(
struct
seq_file
*
seq
,
struct
dentry
*
root
);
static
const
struct
super_operations
qnx6_sops
=
{
.
alloc_inode
=
qnx6_alloc_inode
,
.
destroy_inode
=
qnx6_destroy
_inode
,
.
free_inode
=
qnx6_free
_inode
,
.
put_super
=
qnx6_put_super
,
.
statfs
=
qnx6_statfs
,
.
remount_fs
=
qnx6_remount
,
...
...
@@ -602,17 +602,11 @@ static struct inode *qnx6_alloc_inode(struct super_block *sb)
return
&
ei
->
vfs_inode
;
}
static
void
qnx6_
i_callback
(
struct
rcu_head
*
head
)
static
void
qnx6_
free_inode
(
struct
inode
*
inode
)
{
struct
inode
*
inode
=
container_of
(
head
,
struct
inode
,
i_rcu
);
kmem_cache_free
(
qnx6_inode_cachep
,
QNX6_I
(
inode
));
}
static
void
qnx6_destroy_inode
(
struct
inode
*
inode
)
{
call_rcu
(
&
inode
->
i_rcu
,
qnx6_i_callback
);
}
static
void
init_once
(
void
*
foo
)
{
struct
qnx6_inode_info
*
ei
=
(
struct
qnx6_inode_info
*
)
foo
;
...
...
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