PERFORCE change 180162 for review
Rafal Jaworowski
raj at FreeBSD.org
Wed Jun 23 20:01:49 UTC 2010
http://p4web.freebsd.org/@@180162?ac=10
Change 180162 by raj at raj_nand on 2010/06/23 20:01:21
Unlock properly in a failing case.
Submitted by: Yohanes Nugroho
Affected files ...
.. //depot/projects/nand2/sys/dev/nand/nand_cdev.c#2 edit
Differences ...
==== //depot/projects/nand2/sys/dev/nand/nand_cdev.c#2 (text+ko) ====
@@ -210,6 +210,7 @@
if (off != 0 || (len % cg->page_size) != 0) {
printf("Not aligned write start [0x%08x] size [0x%08x]\n",
off, len);
+ nandbus_lock(nandbus);
return (EINVAL);
}
More information about the p4-projects
mailing list