Re: [PATCH 0/6] Fix file descriptor leak on user-space processesand cleanup

From: Andrew Morton
Date: Wed Feb 24 2010 - 17:03:16 EST


On Tue, 23 Feb 2010 04:04:22 -0300 Andr__ Goddard Rosa <andre.goddard@xxxxxxxxx> wrote:

> Fix a file descriptor leak on user-space processes and perform a cleanup,
> reducing the code size:
> text data bss dec hex filename
> 9949 72 16 10037 2735 ipc/mqueue-BEFORE.o
> 9885 72 16 9973 26f5 ipc/mqueue-AFTER.o
>
> Andr__ Goddard Rosa (6):
> mqueue: remove unneeded info->messages initialization
> mqueue: apply mathematics distributivity on mq_bytes calculation
> mqueue: simplify do_open() error handling
> mqueue: only set error codes if they are really necessary
> mqueue: fix typo "failues" -> "failures"
> mqueue: fix mq_open() file descriptor leak on user-space processes

Fixing the leak is far more important than the other five patches, and
we'll want to backport the leak fix into earlier kernels. So the
bugfix patch should have been the first in the series!

So I've reordered the patches in that fashion and shall tag "mqueue:
fix mq_open() file descriptor leak on user-space processes" as needing
-stable backporting.

The patches apply and build OK with that reordering, but please do
double-check it, thanks.

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