Whamcloud - gitweb
e2image: calculate progress rate using floating point
authorTheodore Ts'o <tytso@mit.edu>
Sun, 24 Jun 2018 04:32:51 +0000 (00:32 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 24 Jun 2018 04:32:51 +0000 (00:32 -0400)
commit72e854c3ad7b9004bc0ef82c927ada05ec6938d8
tree3c727ef02b35d6ca762177ec89d0a8bed313b803
parent48a54b0f51a440cd6379ba9df82a9e726cad128c
e2image: calculate progress rate using floating point

One of the divisions used when caluclate the progress rate was being
done as an integer instead of floating-point operation.  This could
cause the end result to not be as accurate as we would like.

Fixes-Coverity-Bug: 1297513
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/e2image.c