diff options
author | truckman <truckman@FreeBSD.org> | 2004-07-05 21:32:01 +0000 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2004-07-05 21:32:01 +0000 |
commit | 690b842bc55872b2b6a648925842b29f58daf63c (patch) | |
tree | 6b19dcf5121a3a4a411b9f7668b749e6c7b37092 /sys/dev/de | |
parent | 782281411585b11c71b5fc34d535c71848a7efd9 (diff) | |
download | FreeBSD-src-690b842bc55872b2b6a648925842b29f58daf63c.zip FreeBSD-src-690b842bc55872b2b6a648925842b29f58daf63c.tar.gz |
Unconditionally set last_work_seen while in the SYNCER_RUNNING state
so that last_work_seen has a reasonable value at the transition
to the SYNCER_SHUTTING_DOWN state, even if net_worklist_len happened
to be zero at the time.
Initialize last_work_seen to zero as a safety measure in case the
syncer never ran in the SYNCER_RUNNING state.
Tested by: phk
Diffstat (limited to 'sys/dev/de')
0 files changed, 0 insertions, 0 deletions