]> Git Repo - linux.git/blobdiff - lib/sg_pool.c
memcg: flush lruvec stats in the refault
[linux.git] / lib / sg_pool.c
index db29e5c1f7909a537203870dc0ab98dbf8672035..a0b1a52cd6f7510cecdf8800a550441d208879f6 100644 (file)
@@ -90,7 +90,8 @@ void sg_free_table_chained(struct sg_table *table,
        if (nents_first_chunk == 1)
                nents_first_chunk = 0;
 
-       __sg_free_table(table, SG_CHUNK_SIZE, nents_first_chunk, sg_pool_free);
+       __sg_free_table(table, SG_CHUNK_SIZE, nents_first_chunk, sg_pool_free,
+                       table->orig_nents);
 }
 EXPORT_SYMBOL_GPL(sg_free_table_chained);
 
This page took 0.039148 seconds and 4 git commands to generate.