Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jun 2010 09:17:51 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Rafal Jaworowski <raj@freebsd.org>
Cc:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   Re: PERFORCE change 180162 for review
Message-ID:  <201006240917.51965.hselasky@c2i.net>
In-Reply-To: <201006232001.o5NK1moY063395@repoman.freebsd.org>
References:  <201006232001.o5NK1moY063395@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 23 June 2010 22:01:48 Rafal Jaworowski wrote:
> http://p4web.freebsd.org/@@180162?ac=10
> 
> Change 180162 by raj@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006240917.51965.hselasky>