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
e91b9194
Commit
e91b9194
authored
Apr 15, 2019
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ocfs2: switch to ->free_inode()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
9fbc0007
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
fs/ocfs2/super.c
fs/ocfs2/super.c
+3
-9
No files found.
fs/ocfs2/super.c
View file @
e91b9194
...
...
@@ -134,7 +134,7 @@ static int ocfs2_get_sector(struct super_block *sb,
int
block
,
int
sect_size
);
static
struct
inode
*
ocfs2_alloc_inode
(
struct
super_block
*
sb
);
static
void
ocfs2_
destroy
_inode
(
struct
inode
*
inode
);
static
void
ocfs2_
free
_inode
(
struct
inode
*
inode
);
static
int
ocfs2_susp_quotas
(
struct
ocfs2_super
*
osb
,
int
unsuspend
);
static
int
ocfs2_enable_quotas
(
struct
ocfs2_super
*
osb
);
static
void
ocfs2_disable_quotas
(
struct
ocfs2_super
*
osb
);
...
...
@@ -147,7 +147,7 @@ static struct dquot **ocfs2_get_dquots(struct inode *inode)
static
const
struct
super_operations
ocfs2_sops
=
{
.
statfs
=
ocfs2_statfs
,
.
alloc_inode
=
ocfs2_alloc_inode
,
.
destroy_inode
=
ocfs2_destroy
_inode
,
.
free_inode
=
ocfs2_free
_inode
,
.
drop_inode
=
ocfs2_drop_inode
,
.
evict_inode
=
ocfs2_evict_inode
,
.
sync_fs
=
ocfs2_sync_fs
,
...
...
@@ -575,17 +575,11 @@ static struct inode *ocfs2_alloc_inode(struct super_block *sb)
return
&
oi
->
vfs_inode
;
}
static
void
ocfs2_
i_callback
(
struct
rcu_head
*
head
)
static
void
ocfs2_
free_inode
(
struct
inode
*
inode
)
{
struct
inode
*
inode
=
container_of
(
head
,
struct
inode
,
i_rcu
);
kmem_cache_free
(
ocfs2_inode_cachep
,
OCFS2_I
(
inode
));
}
static
void
ocfs2_destroy_inode
(
struct
inode
*
inode
)
{
call_rcu
(
&
inode
->
i_rcu
,
ocfs2_i_callback
);
}
static
unsigned
long
long
ocfs2_max_file_offset
(
unsigned
int
bbits
,
unsigned
int
cbits
)
{
...
...
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