patch-2.3.43 linux/include/linux/tqueue.h

Next file: linux/include/linux/udf_167.h
Previous file: linux/include/linux/timer.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/include/linux/tqueue.h linux/include/linux/tqueue.h
@@ -116,7 +116,8 @@
 			p      = p -> next;
 			mb();
 			save_p -> sync = 0;
-			(*f)(arg);
+			if (f)
+				(*f)(arg);
 		}
 	}
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)