[dm-devel] [PATCH] kcopyd.c : Remove unneeded setting of job->context from copy_write().

Kevin Corry corryk at us.ibm.com
Thu Jan 9 14:54:01 UTC 2003


In copy_write(), don't need to set job->context = info, since it is already
set to that when the function is called.

--- linux-2.4.20a/drivers/md/kcopyd.c	2003/01/09 19:36:29
+++ linux-2.4.20b/drivers/md/kcopyd.c	2003/01/09 19:37:51
@@ -665,7 +665,6 @@
 	job->rw = WRITE;
 	memcpy(&job->disk, &info->to, sizeof(job->disk));
 	job->callback = copy_complete;
-	job->context = info;
 
 	/*
 	 * Queue the write.




More information about the dm-devel mailing list