diff options
author | Bob Peterson <[email protected]> | 2023-08-30 07:57:47 -0500 |
---|---|---|
committer | Andreas Gruenbacher <[email protected]> | 2023-09-05 15:58:18 +0200 |
commit | 9f494e9bdcc54eaed94fcc8fe5d4d5a51c36834c (patch) | |
tree | aadba00c4671998860ce21ab6a3fb92981cc739d /net/unix/sysctl_net_unix.c | |
parent | 2a4f651167560adae05e644e41d2666d727c549b (diff) |
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 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions