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

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)