summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/zfs/arc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/module/zfs/arc.c b/module/zfs/arc.c
index c1ffe1f24..28a6c93c5 100644
--- a/module/zfs/arc.c
+++ b/module/zfs/arc.c
@@ -4808,8 +4808,6 @@ arc_reduce_target_size(int64_t to_free)
if (c > to_free && c - to_free > arc_c_min) {
arc_c = c - to_free;
atomic_add_64(&arc_p, -(arc_p >> arc_shrink_shift));
- if (asize < arc_c)
- arc_c = MAX(asize, arc_c_min);
if (arc_p > arc_c)
arc_p = (arc_c >> 1);
ASSERT(arc_c >= arc_c_min);