uml: fix hostfs tv_usec calculations
authorDominique Quatravaux <dominique@quatravaux.org>
Tue, 5 Feb 2008 06:31:15 +0000 (22:31 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:30 +0000 (09:44 -0800)
commitd7b88513c504e49d450b0f89f80ba9d451a3c804
tree12af1040a75fd1909f30f5d3ebbdddb0d246b6c3
parentc5d4bb171cab17576779a51d23d313abcb3db102
uml: fix hostfs tv_usec calculations

To convert from tv_nsec to tv_usec, one needs to divide by 1000, not multiply.

Signed-off-by: Dominique Quatravaux <dominique@quatravaux.org>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/hostfs/hostfs_user.c