diff options
author | Xavier Hernandez <jahernan@redhat.com> | 2018-01-19 12:18:13 +0100 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-04-29 07:30:56 +0000 |
commit | d23e918d954e985b13295ba00353e4f47759e59e (patch) | |
tree | 0bdf47d24269f7aaa766a251c0b8d74f74893280 /libglusterfs/src | |
parent | 45b19d569e9f61410e4a700950e3cf4d7e6838f1 (diff) |
storage/posix: fix fresh file detection delay
Current implementation made it possible to consider that a file was not
fresh even if it was created less than a second ago. This patch fixes
the way in which the delay is computed to ensure that at least one
second has elapsed.
Change-Id: I05f7b99e7e8dd97e31f7ebaaec6c39eecf98b00f
Updates: bz#1193929
Signed-off-by: Xavier Hernandez <jahernan@redhat.com>
Diffstat (limited to 'libglusterfs/src')
0 files changed, 0 insertions, 0 deletions