* swsusp: md support
@ 2002-12-04 13:05 Pavel Machek
0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2002-12-04 13:05 UTC (permalink / raw)
To: torvalds, kernel list
Hi!
This adds basic support to md.c. Please apply,
Pavel
--- clean/drivers/md/md.c 2002-11-23 19:55:20.000000000 +0100
+++ linux-swsusp/drivers/md/md.c 2002-11-23 19:57:55.000000000 +0100
@@ -36,6 +36,7 @@
#include <linux/bio.h>
#include <linux/devfs_fs_kernel.h>
#include <linux/buffer_head.h> /* for invalidate_bdev */
+#include <linux/suspend.h>
#include <linux/init.h>
@@ -2466,6 +2467,8 @@
wait_event_interruptible(thread->wqueue,
test_bit(THREAD_WAKEUP, &thread->flags));
+ if (current->flags & PF_FREEZE)
+ refrigerator(PF_IOTHREAD);
clear_bit(THREAD_WAKEUP, &thread->flags);
--
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-05 20:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-04 13:05 swsusp: md support Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®