Re: [patch] char/raw.c locking on error

From: Jonathan Corbet
Date: Fri Mar 27 2009 - 11:48:26 EST


On Fri, 27 Mar 2009 13:28:48 +0300 (EAT)
Dan Carpenter <error27@xxxxxxxxx> wrote:

> This bug was found by smatch (http://repo.or.cz/w/smatch.git/). Compile
> tested only, sorry.

But clearly correct. This is probably my fault, duh. I've grabbed the
fix into the bkl-removal tree in case it doesn't get in via some faster
path.

(I bet raw doesn't need BKL at all; I'll see if I can't find some time
to have a look later on).

Thanks,

jon
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/