mtd/fs/jffs2 gc.c,1.126,1.127
David Woodhouse
dwmw2 at infradead.org
Tue Nov 4 06:17:07 EST 2003
- Previous message: mtd/fs/jffs2 erase.c,1.55,1.56 fs.c,1.33,1.34
nodelist.h,1.110,1.111 nodemgmt.c,1.105,1.106
- Next message: mtd/fs/jffs2 erase.c,1.56,1.57
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv13024
Modified Files:
gc.c
Log Message:
Fix references to erase_completion_lock
Index: gc.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/gc.c,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -r1.126 -r1.127
--- gc.c 3 Nov 2003 14:46:12 -0000 1.126
+++ gc.c 4 Nov 2003 11:17:05 -0000 1.127
@@ -454,17 +454,17 @@
spin_lock(&c->erase_completion_lock);
if (c->gcblock != jeb) {
- spin_unlock(&erase_completion_lock);
+ spin_unlock(&c->erase_completion_lock);
D1(printk(KERN_DEBUG "GC block is no longer gcblock. Restart\n"));
goto upnout;
}
if (ref_obsolete(raw)) {
- spin_unlock(&erase_completion_lock);
+ spin_unlock(&c->erase_completion_lock);
D1(printk(KERN_DEBUG "node to be GC'd was obsoleted in the meantime.\n"));
/* They'll call again */
goto upnout;
}
- spin_unlock(&erase_completion_lock);
+ spin_unlock(&c->erase_completion_lock);
/* OK. Looks safe. And nobody can get us now because we have the semaphore. Move the block */
if (f->metadata && f->metadata->raw == raw) {
- Previous message: mtd/fs/jffs2 erase.c,1.55,1.56 fs.c,1.33,1.34
nodelist.h,1.110,1.111 nodemgmt.c,1.105,1.106
- Next message: mtd/fs/jffs2 erase.c,1.56,1.57
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list