Hello.

  I'm sending you a small fix in quota. Currently on
systems with many different users there are problems that too
many dquots are bound in unused inodes. Following patch
fixes it - quota tries to get dquots from unused inodes
more than once.

                                                Honza

PS: I already sent this patch some time ago but it got lost...
--- linux/fs/dquot.c    Tue Nov 21 13:05:16 2000
+++ linux/fs/dquot.c    Tue Nov 21 13:05:44 2000
@@ -522,7 +522,7 @@
 struct dquot *get_empty_dquot(void)
 {
        struct dquot *dquot;
-       int shrink = 1; /* Number of times we should try to shrink dcache and icache */
+       int shrink = 8; /* Number of times we should try to shrink dcache and icache */
 
 repeat:
        dquot = find_best_free();

Reply via email to