diff options
| author | Joseph Qi <[email protected]> | 2024-03-14 10:17:13 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-04-25 21:07:01 -0700 |
| commit | 30dd3478c3cd7d01cc5afc4952e885ba4eefb730 (patch) | |
| tree | bd56bced69e421827a64c7c60d7d9eb6631c84d1 /tools/perf/scripts/python | |
| parent | 0bbac3facb5d6cc0171c45c9873a2dc96bea9680 (diff) | |
ocfs2: correctly use ocfs2_find_next_zero_bit()
If no bits are zero, ocfs2_find_next_zero_bit() will return max size, so
check the return value with -1 is meaningless. Correct this usage and
cleanup the code.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Joseph Qi <[email protected]>
Reviewed-by: Heming Zhao <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Junxiao Bi <[email protected]>
Cc: Changwei Ge <[email protected]>
Cc: Gang He <[email protected]>
Cc: Jun Piao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions