mtd/drivers/mtd/chips cfi_cmdset_0001.c,1.156,1.157

Nicolas Pitre nico at infradead.org
Fri Oct 15 16:00:29 EDT 2004


Update of /home/cvs/mtd/drivers/mtd/chips
In directory phoenix.infradead.org:/tmp/cvs-serv25333/drivers/mtd/chips

Modified Files:
	cfi_cmdset_0001.c 
Log Message:
missing unlock, noticed with screwed preempt count


Index: cfi_cmdset_0001.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_cmdset_0001.c,v
retrieving revision 1.156
retrieving revision 1.157
diff -u -r1.156 -r1.157
--- cfi_cmdset_0001.c	17 Sep 2004 11:45:05 -0000	1.156
+++ cfi_cmdset_0001.c	15 Oct 2004 20:00:26 -0000	1.157
@@ -642,6 +642,8 @@
 				}
 				spin_unlock(&shared->lock);
 			}
+		} else {
+			spin_unlock(&shared->lock);
 		}
 	}
 





More information about the linux-mtd-cvs mailing list