background.c (7b7e394185014e0f3bd8989cac937003f20ef9ce) | background.c (7dfb71030f7636a0d65200158113c37764552f93) |
---|---|
1/* 2 * JFFS2 -- Journalling Flash File System, Version 2. 3 * 4 * Copyright (C) 2001-2003 Red Hat, Inc. 5 * 6 * Created by David Woodhouse <dwmw2@infradead.org> 7 * 8 * For licensing information, see the file 'LICENCE' in this directory. 9 * 10 * $Id: background.c,v 1.54 2005/05/20 21:37:12 gleixner Exp $ 11 * 12 */ 13 14#include <linux/kernel.h> 15#include <linux/jffs2.h> 16#include <linux/mtd/mtd.h> 17#include <linux/completion.h> 18#include <linux/sched.h> | 1/* 2 * JFFS2 -- Journalling Flash File System, Version 2. 3 * 4 * Copyright (C) 2001-2003 Red Hat, Inc. 5 * 6 * Created by David Woodhouse <dwmw2@infradead.org> 7 * 8 * For licensing information, see the file 'LICENCE' in this directory. 9 * 10 * $Id: background.c,v 1.54 2005/05/20 21:37:12 gleixner Exp $ 11 * 12 */ 13 14#include <linux/kernel.h> 15#include <linux/jffs2.h> 16#include <linux/mtd/mtd.h> 17#include <linux/completion.h> 18#include <linux/sched.h> |
19#include <linux/freezer.h> |
|
19#include "nodelist.h" 20 21 22static int jffs2_garbage_collect_thread(void *); 23 24void jffs2_garbage_collect_trigger(struct jffs2_sb_info *c) 25{ 26 spin_lock(&c->erase_completion_lock); --- 117 unchanged lines hidden --- | 20#include "nodelist.h" 21 22 23static int jffs2_garbage_collect_thread(void *); 24 25void jffs2_garbage_collect_trigger(struct jffs2_sb_info *c) 26{ 27 spin_lock(&c->erase_completion_lock); --- 117 unchanged lines hidden --- |