diff options
author | Bob Peterson <rpeterso@redhat.com> | 2023-08-30 15:57:47 +0300 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2023-09-05 16:58:18 +0300 |
commit | 9f494e9bdcc54eaed94fcc8fe5d4d5a51c36834c (patch) | |
tree | aadba00c4671998860ce21ab6a3fb92981cc739d /scripts/gdb/linux/interrupts.py | |
parent | 2a4f651167560adae05e644e41d2666d727c549b (diff) | |
download | linux-9f494e9bdcc54eaed94fcc8fe5d4d5a51c36834c.tar.xz |
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 <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions