Re: [patch] ext4: missing unlock in ext4_clear_request_list()

From: Ted Ts'o
Date: Wed Nov 17 2010 - 14:01:36 EST


On Wed, Nov 17, 2010 at 08:07:32AM +0300, Dan Carpenter wrote:
> If the the li_request_list was empty then it returned with the lock
> held. Instead of adding a "goto unlock" I just removed that special
> case and let it go past the empty list_for_each_safe().
>
> Signed-off-by: Dan Carpenter <error27@xxxxxxxxx>

Nice catch. Thanks, I've grabbed this and put it into the ext4 patch
queue and will be pushing it to Linus ASAP.

- Ted
--
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/