mtd/fs/jffs2 gc.c,1.87,1.88
David Woodhouse
dwmw2 at infradead.org
Tue Oct 8 12:56:11 EDT 2002
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv9355
Modified Files:
gc.c
Log Message:
/mode dwmw2 -fuckwit
Index: gc.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/gc.c,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- gc.c 8 Oct 2002 16:49:10 -0000 1.87
+++ gc.c 8 Oct 2002 16:56:08 -0000 1.88
@@ -209,6 +209,7 @@
we don't grok that has JFFS2_NODETYPE_RWCOMPAT_COPY, we should do so */
spin_unlock_bh(&c->erase_completion_lock);
jffs2_mark_node_obsolete(c, raw);
+ up(&c->alloc_sem);
goto eraseit_lock;
}
@@ -304,11 +305,10 @@
}
upnout:
up(&f->sem);
+ up(&c->alloc_sem);
iput(inode);
eraseit_lock:
- up(&c->alloc_sem);
-
/* If we've finished this block, start it erasing */
spin_lock_bh(&c->erase_completion_lock);
More information about the linux-mtd-cvs
mailing list