Skip to content

Commit dd234f8

Browse files
committed
gfs2: nit: gfs2_drop_inode shouldn't return bool
jira LE-2169 Rebuild_History Non-Buildable kernel-4.18.0-553.27.1.el8_10 commit-author Bob Peterson <rpeterso@redhat.com> commit ba3ca2b Today, gfs2_drop_inode can return "false" for an int value. I'm sure this was just an oversight. Change to int value. Signed-off-by: Bob Peterson <rpeterso@redhat.com> (cherry picked from commit ba3ca2b) Signed-off-by: Jonathan Maple <jmaple@ciq.com>
1 parent fed9fc3 commit dd234f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/gfs2/super.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ static int gfs2_drop_inode(struct inode *inode)
10681068
gfs2_glock_hold(gl);
10691069
if (!gfs2_queue_try_to_evict(gl))
10701070
gfs2_glock_queue_put(gl);
1071-
return false;
1071+
return 0;
10721072
}
10731073

10741074
/*

0 commit comments

Comments
 (0)