packages: kernel/kernel-reiser4.patch - build fix

arekm arekm at pld-linux.org
Fri Dec 4 21:55:15 CET 2009


Author: arekm                        Date: Fri Dec  4 20:55:15 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- build fix

---- Files affected:
packages/kernel:
   kernel-reiser4.patch (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: packages/kernel/kernel-reiser4.patch
diff -u packages/kernel/kernel-reiser4.patch:1.7 packages/kernel/kernel-reiser4.patch:1.8
--- packages/kernel/kernel-reiser4.patch:1.7	Fri Dec  4 20:21:52 2009
+++ packages/kernel/kernel-reiser4.patch	Fri Dec  4 21:55:09 2009
@@ -6348,11 +6348,11 @@
 +	 */
 +	if (sbinfo != NULL && sbinfo->fake != NULL &&
 +	    context->nr_marked_dirty != 0 &&
-+	    !(current->flags & PF_MEMALLOC) &&
-+	    !current_is_pdflush())
++	    !(current->flags & PF_MEMALLOC))
 +		balance_dirty_pages_ratelimited(sbinfo->fake->i_mapping);
 +}
 +
++
 +/* release resources associated with context.
 +
 +   This function should be called at the end of "session" with reiser4,
@@ -71549,7 +71549,7 @@
 +		 * Write throttling is case of no one atom can be
 +		 * flushed/committed.
 +		 */
-+		if (!current_is_pdflush() && !wbc->nonblocking) {
++		if (!wbc->nonblocking) {
 +			list_for_each_entry(atom, &tmgr->atoms_list, atom_link) {
 +				spin_lock_atom(atom);
 +				/* Repeat the check from the above. */
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kernel/kernel-reiser4.patch?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list