Re: [PATCH 7/7] fs/ocfs2/file.c: Release mutex in error handlingcode

From: Joel Becker
Date: Mon Jul 21 2008 - 16:37:13 EST


On Mon, Jul 21, 2008 at 09:59:15AM +0200, Julia Lawall wrote:
> From: Julia Lawall <julia@xxxxxxx>
>
> The mutex is released on a successful return, so it would seem that it
> should be released on an error return as well.

This patch looks right to me. Mark?

Joel


--

"If you are ever in doubt as to whether or not to kiss a pretty girl,
give her the benefit of the doubt"
-Thomas Carlyle

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker@xxxxxxxxxx
Phone: (650) 506-8127
--
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/