Commit 66fbb5f7 authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[PATCH] better dquot accounting

parent beedbf45
...@@ -429,8 +429,7 @@ int shrink_dqcache_memory(int priority, unsigned int gfp_mask) ...@@ -429,8 +429,7 @@ int shrink_dqcache_memory(int priority, unsigned int gfp_mask)
count = nr_free_dquots / priority; count = nr_free_dquots / priority;
prune_dqcache(count); prune_dqcache(count);
unlock_kernel(); unlock_kernel();
kmem_cache_shrink(dquot_cachep); return kmem_cache_shrink_nr(dquot_cachep);
return 0;
} }
/* NOTE: If you change this function please check whether dqput_blocks() works right... */ /* NOTE: If you change this function please check whether dqput_blocks() works right... */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment