patch-2.4.27 linux-2.4.27/fs/dquot.c
Next file: linux-2.4.27/fs/ext2/inode.c
Previous file: linux-2.4.27/fs/devpts/inode.c
Back to the patch index
Back to the overall index
-  Lines: 11
-  Date:
2004-08-07 16:26:05.970400852 -0700
-  Orig file: 
linux-2.4.26/fs/dquot.c
-  Orig date: 
2004-02-18 05:36:31.000000000 -0800
diff -urN linux-2.4.26/fs/dquot.c linux-2.4.27/fs/dquot.c
@@ -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;
 	}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)