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
ce895cf1
Commit
ce895cf1
authored
Apr 03, 2019
by
Andreas Gruenbacher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gfs2: Remove misleading comments in gfs2_evict_inode
Signed-off-by:
Andreas Gruenbacher
<
agruenba@redhat.com
>
parent
73118ca8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
fs/gfs2/super.c
fs/gfs2/super.c
+0
-5
No files found.
fs/gfs2/super.c
View file @
ce895cf1
...
...
@@ -1630,8 +1630,6 @@ static void gfs2_evict_inode(struct inode *inode)
goto
out_truncate
;
}
/* Case 1 starts here */
if
(
S_ISDIR
(
inode
->
i_mode
)
&&
(
ip
->
i_diskflags
&
GFS2_DIF_EXHASH
))
{
error
=
gfs2_dir_exhash_dealloc
(
ip
);
...
...
@@ -1670,7 +1668,6 @@ static void gfs2_evict_inode(struct inode *inode)
write_inode_now
(
inode
,
1
);
gfs2_ail_flush
(
ip
->
i_gl
,
0
);
/* Case 2 starts here */
error
=
gfs2_trans_begin
(
sdp
,
0
,
sdp
->
sd_jdesc
->
jd_blocks
);
if
(
error
)
goto
out_unlock
;
...
...
@@ -1680,7 +1677,6 @@ static void gfs2_evict_inode(struct inode *inode)
gfs2_trans_end
(
sdp
);
out_unlock:
/* Error path for case 1 */
if
(
gfs2_rs_active
(
&
ip
->
i_res
))
gfs2_rs_deltree
(
&
ip
->
i_res
);
...
...
@@ -1699,7 +1695,6 @@ static void gfs2_evict_inode(struct inode *inode)
if
(
error
&&
error
!=
GLR_TRYFAILED
&&
error
!=
-
EROFS
)
fs_warn
(
sdp
,
"gfs2_evict_inode: %d
\n
"
,
error
);
out:
/* Case 3 starts here */
truncate_inode_pages_final
(
&
inode
->
i_data
);
gfs2_rsqa_delete
(
ip
,
NULL
);
gfs2_ordered_del_inode
(
ip
);
...
...
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