Skip to content

Commit ba3ca2b

Browse files
committed
gfs2: nit: gfs2_drop_inode shouldn't return bool
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>
1 parent a8f1d32 commit ba3ca2b

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
@@ -947,7 +947,7 @@ static int gfs2_drop_inode(struct inode *inode)
947947
gfs2_glock_hold(gl);
948948
if (!gfs2_queue_delete_work(gl, 0))
949949
gfs2_glock_queue_put(gl);
950-
return false;
950+
return 0;
951951
}
952952

953953
return generic_drop_inode(inode);

0 commit comments

Comments
 (0)