Fix comparison of nanoseconds

NB.decodeInt32(info, base + 4) already returns nanoseconds.
Therefore it must not be divided by 1000000.

Change-Id: Ie8f5c4a03f984d98935dccedc2b1ba4457094899
Signed-off-by: Stefan Lay <stefan.lay@sap.com>
This commit is contained in:
Stefan Lay 2010-07-06 17:57:17 +02:00
parent 629fd0d594
commit 311da9b211
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ final boolean mightBeRacilyClean(final int smudge_s, final int smudge_ns) {
if (smudge_s < mtime)
return true;
if (smudge_s == mtime)
return smudge_ns <= NB.decodeInt32(info, base + 4) / 1000000;
return smudge_ns <= NB.decodeInt32(info, base + 4);
return false;
}