lkml.org 
[lkml]   [2003]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [dm-devel] Re: [RFC 3/3] dm: v4 ioctl interface
If dm_add_wait_queue() fails we need to set TASK_RUNNING.
--- diff/drivers/md/dm-ioctl-v4.c 2003-07-02 11:32:42.000000000 +0100
+++ source/drivers/md/dm-ioctl-v4.c 2003-07-02 11:32:23.000000000 +0100
@@ -719,6 +719,7 @@
schedule();
dm_remove_wait_queue(md, &wq);
}
+ set_current_state(TASK_RUNNING);

/*
* The userland program is going to want to know what
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.051 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site