mtd/fs/jffs2 background.c,1.50,1.51
gleixner at infradead.org
gleixner at infradead.org
Thu Mar 17 15:16:01 EST 2005
- Previous message: mtd/Documentation/DocBook librs.tmpl,1.2,1.3 mtdnand.tmpl,1.3,1.4
- Next message: mtd/fs/jffs2 compr.c, 1.43, 1.44 compr.h, 1.6, 1.7 compr_rtime.c,
1.14, 1.15 erase.c, 1.72, 1.73 file.c, 1.99, 1.100 fs.c, 1.53,
1.54 nodelist.h, 1.128, 1.129 os-linux.h, 1.54, 1.55 wbuf.c,
1.89, 1.90
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv26482
Modified Files:
background.c
Log Message:
Merge from mainstream.
[PATCH] swsusp: refrigerator cleanups
This patch is from Nigel's swsusp2, it kills ugly #include <suspend.h> from
all over the tree, and makes code slightly nicer. I only left those parts
that do not change any code.
From: Nigel Cunningham <ncunningham at linuxmail.org>
Index: background.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/background.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- background.c 16 Nov 2004 20:36:10 -0000 1.50
+++ background.c 17 Mar 2005 20:15:58 -0000 1.51
@@ -15,7 +15,6 @@
#include <linux/jffs2.h>
#include <linux/mtd/mtd.h>
#include <linux/completion.h>
-#include <linux/suspend.h>
#include "nodelist.h"
@@ -93,12 +92,8 @@
schedule();
}
- if (current->flags & PF_FREEZE) {
- refrigerator(0);
- /* refrigerator() should recalc sigpending for us
- but doesn't. No matter - allow_signal() will. */
+ if (try_to_freeze(0))
continue;
- }
cond_resched();
- Previous message: mtd/Documentation/DocBook librs.tmpl,1.2,1.3 mtdnand.tmpl,1.3,1.4
- Next message: mtd/fs/jffs2 compr.c, 1.43, 1.44 compr.h, 1.6, 1.7 compr_rtime.c,
1.14, 1.15 erase.c, 1.72, 1.73 file.c, 1.99, 1.100 fs.c, 1.53,
1.54 nodelist.h, 1.128, 1.129 os-linux.h, 1.54, 1.55 wbuf.c,
1.89, 1.90
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list