We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39b1cfd commit 7e88d31Copy full SHA for 7e88d31
fs/xfs/xfs_icache.c
@@ -823,11 +823,11 @@ xfs_inode_ag_walk(
823
uint32_t first_index;
824
int last_error = 0;
825
int skipped;
826
- int done;
+ bool done;
827
int nr_found;
828
829
restart:
830
- done = 0;
+ done = false;
831
skipped = 0;
832
first_index = 0;
833
nr_found = 0;
@@ -879,7 +879,7 @@ xfs_inode_ag_walk(
879
continue;
880
first_index = XFS_INO_TO_AGINO(mp, ip->i_ino + 1);
881
if (first_index < XFS_INO_TO_AGINO(mp, ip->i_ino))
882
- done = 1;
+ done = true;
883
}
884
885
/* unlock now we've grabbed the inodes. */
0 commit comments