diff options
| author | Bob Peterson <[email protected]> | 2023-08-30 12:57:47 +0000 |
|---|---|---|
| committer | Andreas Gruenbacher <[email protected]> | 2023-09-05 13:58:18 +0000 |
| commit | 9f494e9bdcc54eaed94fcc8fe5d4d5a51c36834c (patch) | |
| tree | aadba00c4671998860ce21ab6a3fb92981cc739d /tools/perf/scripts/python/libxed.py | |
| parent | gfs2: Simplify function need_sync (diff) | |
| download | kernel-9f494e9bdcc54eaed94fcc8fe5d4d5a51c36834c.tar.gz kernel-9f494e9bdcc54eaed94fcc8fe5d4d5a51c36834c.zip | |
gfs2: Don't try to sync non-changes
Function need_sync is supposed to determine if a qd element needs to be
synced. If the "change" (qd_change) is zero, it does not need to be
synced because there's literally no change in the value. Before this
patch need_sync returned false if value < 0. That should be <= 0.
This patch changes the check to <=.
Signed-off-by: Bob Peterson <[email protected]>
Signed-off-by: Andreas Gruenbacher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
