On Sun, Jan 12, 2003 at 11:12:41PM +0100, Oliver Neukum wrote: > Yes. Typical error cleanup looks like: > err_out: > up(&sem); > return err; > > Releasing a lock in another function is a crime punished by slow death. Not to mention that the 'return err;' statement is hard to move to an inline function meaningfully. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo _at_ vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Follow-Ups:
- Re: any chance of 2.6.0-test*?Rob Wilkens
- Re: any chance of 2.6.0-test*?Linus Torvalds
- Re: any chance of 2.6.0-test*?Rik van Riel
- Re: any chance of 2.6.0-test*?Rob Wilkens
- Re: any chance of 2.6.0-test*?Oliver Neukum
- Prev by Date: Re: any chance of 2.6.0-test*?
- Next by Date: Re: any chance of 2.6.0-test*?
- Previous by thread: Re: any chance of 2.6.0-test*?
- Next by thread: Re: any chance of 2.6.0-test*?
- Indexes:[Main][Thread]