git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
fs
/
jffs2
/
background.c
diff --git
a/fs/jffs2/background.c
b/fs/jffs2/background.c
index
ac59ee3
..
1be6de2
100644
(file)
--- a/
fs/jffs2/background.c
+++ b/
fs/jffs2/background.c
@@
-3,11
+3,11
@@
*
* Copyright (C) 2001-2003 Red Hat, Inc.
*
*
* Copyright (C) 2001-2003 Red Hat, Inc.
*
- * Created by David Woodhouse <dwmw2@
redhat.com
>
+ * Created by David Woodhouse <dwmw2@
infradead.org
>
*
* For licensing information, see the file 'LICENCE' in this directory.
*
*
* For licensing information, see the file 'LICENCE' in this directory.
*
- * $Id: background.c,v 1.
49 2004/07/13 08:56:4
0 dwmw2 Exp $
+ * $Id: background.c,v 1.
50 2004/11/16 20:36:1
0 dwmw2 Exp $
*
*/
*
*/
@@
-15,7
+15,6
@@
#include <linux/jffs2.h>
#include <linux/mtd/mtd.h>
#include <linux/completion.h>
#include <linux/jffs2.h>
#include <linux/mtd/mtd.h>
#include <linux/completion.h>
-#include <linux/suspend.h>
#include "nodelist.h"
#include "nodelist.h"
@@
-93,12
+92,8
@@
static int jffs2_garbage_collect_thread(void *_c)
schedule();
}
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;
continue;
- }
cond_resched();
cond_resched();