diff options
author | Grazvydas Ignotas <[email protected]> | 2017-03-18 22:58:54 +0200 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-20 08:24:38 +1100 |
commit | 67911fa4b88aedc709a92c1630c1de9ea3a30d1f (patch) | |
tree | 78aa03c7b3f475293f1b9ce417c6f27310e66ae7 /src/util/rgtc.c | |
parent | bd93cea69124b91ec278069f2095b4cbfb44cc2f (diff) |
util/disk_cache: delete .tmp if target exists
At the time of target file check, .tmp file is already created and file
lock is held, so we should remove the .tmp, like in other error paths.
With this, piglit no longer leaves large amount of empty .tmp files
behind, which waste directory entries and may interfere with eviction.
Signed-off-by: Grazvydas Ignotas <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/util/rgtc.c')
0 files changed, 0 insertions, 0 deletions