]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] time_adjust cleared before use
authorJim Houston <jim.houston@comcast.net>
Sat, 28 Oct 2006 17:38:56 +0000 (10:38 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 28 Oct 2006 18:30:55 +0000 (11:30 -0700)
commit84bb038a9e01106496e7aaece82caba99f4e6c5e
treeb1a7ba710c54f76684a85f241802980b3bcbb92c
parentb3a2af06c029a87300cafc0a924cfbcf6fdc68d1
[PATCH] time_adjust cleared before use

I notice that the code which implements adjtime clears the time_adjust
value before using it.  The attached patch makes the obvious fix.

Acked-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Jim Houston <jim.houston@ccur.com>
Cc: John Stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/time/ntp.c