The patch titled um: drivers/xterm.c: fix a file descriptor leak has been removed from the -mm tree. Its filename was um-drivers-xtermc-fix-a-file-descriptor-leak.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: um: drivers/xterm.c: fix a file descriptor leak From: Jonathan Neuschäfer <j.neuschaefer@xxxxxxx> I could use out_close1, but that seems to be the code path to close the fd returned by os_create_unix_socket, and using it to close the fd returned by mkstemp might lead to some confusion, so I don't do it. Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@xxxxxxx> Signed-off-by: Richard Weinberger <richard@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/um/drivers/xterm.c | 1 + 1 file changed, 1 insertion(+) diff -puN arch/um/drivers/xterm.c~um-drivers-xtermc-fix-a-file-descriptor-leak arch/um/drivers/xterm.c --- a/arch/um/drivers/xterm.c~um-drivers-xtermc-fix-a-file-descriptor-leak +++ a/arch/um/drivers/xterm.c @@ -123,6 +123,7 @@ static int xterm_open(int input, int out err = -errno; printk(UM_KERN_ERR "xterm_open : unlink failed, errno = %d\n", errno); + close(fd); return err; } close(fd); _ Patches currently in -mm which might be from j.neuschaefer@xxxxxxx are origin.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html