Skip to content
Commit a2a5ac86 authored by John Stultz's avatar John Stultz Committed by Ingo Molnar
Browse files

time: ntp: fix bug in ntp_update_offset() & do_adjtimex(), fix



The time_status conditional was accidentally placed right after we clear
the checked time_status bits, which causes us to take the conditional
every time through. This fixes it by moving the conditional to before we
clear the time_status bits.

Signed-off-by: default avatarJohn Stultz <johnstul@us.ibm.com>
Cc: Clark Williams <williams@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 39854fe8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment