]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] uml: close file descriptor leaks
authorJeff Dike <jdike@addtoit.com>
Fri, 29 Sep 2006 08:58:51 +0000 (01:58 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:04 +0000 (09:18 -0700)
commit80c13749140284abdc23bbeed2507b7e5a3dc459
tree9d5a56f718e8f467af3daf0089309d3b1ac9d12e
parent730760e90a173ef81f89beed2f1dad2fab310f68
[PATCH] uml: close file descriptor leaks

Close two file descriptor leaks, one in the ubd driver and one to
/proc/mounts.  The ubd driver bug also leaked some vmalloc space.  The
/proc/mounts leak was a descriptor that was just never closed.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/drivers/ubd_kern.c
arch/um/os-Linux/mem.c