diff options
| -rw-r--r-- | src/file_handle_cache.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/file_handle_cache.erl b/src/file_handle_cache.erl index e8788c9798..c39f7557fe 100644 --- a/src/file_handle_cache.erl +++ b/src/file_handle_cache.erl @@ -375,8 +375,7 @@ sync(Ref) -> needs_sync(Ref) -> %% This needs *not* to use with_handles/2; see bug 25052 - Handle = get({Ref, fhc_handle}), - case Handle of + case get({Ref, fhc_handle}) of #handle { is_dirty = false, write_buffer = [] } -> false; _ -> true end. |
