summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/file_handle_cache.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file_handle_cache.erl b/src/file_handle_cache.erl
index 820df89673..4df6eb3715 100644
--- a/src/file_handle_cache.erl
+++ b/src/file_handle_cache.erl
@@ -884,8 +884,8 @@ maybe_reduce(State = #fhc_state { limit = Limit,
timer_ref = TRef })
when Limit =/= infinity andalso
(((OpenCount + ObtainCount) > Limit) orelse
- ([] =/= OpenPending) orelse
- (ObtainCount < ObtainLimit andalso [] =/= ObtainPending)) ->
+ (OpenPending =/= []) orelse
+ (ObtainCount < ObtainLimit andalso ObtainPending =/= [])) ->
Now = now(),
{Pids, Sum, ClientCount} =
dict:fold(fun (_Pid, undefined, Accs) ->