PERFORCE change 180162 for review

Hans Petter Selasky hselasky at c2i.net
Thu Jun 24 07:20:46 UTC 2010


On Wednesday 23 June 2010 22:01:48 Rafal Jaworowski wrote:
> 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);
>  	}
> 

nandbus_unlock() ???

--HPS


More information about the p4-projects mailing list