Skip to content

Commit ce895cf

Browse files
author
Andreas Gruenbacher
committed
gfs2: Remove misleading comments in gfs2_evict_inode
Signed-off-by: Andreas Gruenbacher <[email protected]>
1 parent 73118ca commit ce895cf

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

fs/gfs2/super.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1630,8 +1630,6 @@ static void gfs2_evict_inode(struct inode *inode)
16301630
goto out_truncate;
16311631
}
16321632

1633-
/* Case 1 starts here */
1634-
16351633
if (S_ISDIR(inode->i_mode) &&
16361634
(ip->i_diskflags & GFS2_DIF_EXHASH)) {
16371635
error = gfs2_dir_exhash_dealloc(ip);
@@ -1670,7 +1668,6 @@ static void gfs2_evict_inode(struct inode *inode)
16701668
write_inode_now(inode, 1);
16711669
gfs2_ail_flush(ip->i_gl, 0);
16721670

1673-
/* Case 2 starts here */
16741671
error = gfs2_trans_begin(sdp, 0, sdp->sd_jdesc->jd_blocks);
16751672
if (error)
16761673
goto out_unlock;
@@ -1680,7 +1677,6 @@ static void gfs2_evict_inode(struct inode *inode)
16801677
gfs2_trans_end(sdp);
16811678

16821679
out_unlock:
1683-
/* Error path for case 1 */
16841680
if (gfs2_rs_active(&ip->i_res))
16851681
gfs2_rs_deltree(&ip->i_res);
16861682

@@ -1699,7 +1695,6 @@ static void gfs2_evict_inode(struct inode *inode)
16991695
if (error && error != GLR_TRYFAILED && error != -EROFS)
17001696
fs_warn(sdp, "gfs2_evict_inode: %d\n", error);
17011697
out:
1702-
/* Case 3 starts here */
17031698
truncate_inode_pages_final(&inode->i_data);
17041699
gfs2_rsqa_delete(ip, NULL);
17051700
gfs2_ordered_del_inode(ip);

0 commit comments

Comments
 (0)