Re: [PATCH] tty: cleanup release_mem

From: Alan Cox
Date: Mon Jan 29 2007 - 07:01:26 EST


On Sun, Jan 28, 2007 at 06:12:44PM +0100, Christoph Hellwig wrote:
> release_mem contains two copies of exactly the same code. Refactor
> these into a new helper, release_tty. The only change in behaviour
> is that the driver reference count is now decremented after the
> master tty has been freed instead of before.
>
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Acked-by: Alan Cox <alan@xxxxxxxxxx>

Please propogate the mutex_ FIXME comment to both functions as it may
well need to cover tty->link

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