| Kernel v2.4.27 /fs/dquot.c |
|---|
 2.4.27
 fs
 dquot.c
diff -urN linux-2.4.26/fs/dquot.c linux-2.4.27/fs/dquot.c
--- linux-2.4.26/fs/dquot.c 2004-02-18 05:36:31.000000000 -0800
+++ linux-2.4.27/fs/dquot.c 2004-08-07 16:26:05.970400852 -0700
@@ -397,6 +397,10 @@
wait_on_dquot(dquot);
if (dquot_dirty(dquot))
sb->dq_op->write_dquot(dquot);
+ /* Move the inuse_list head pointer to just after the
+ * current dquot, so that we'll restart the list walk
+ * after this point on the next pass. */
+ list_move(&inuse_list, &dquot->dq_inuse);
dqput(dquot);
goto restart;
}
|