]> git.baikalelectronics.ru Git - kernel.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)
commit7847a80b6e5a347a9e3a2cd2dbd84facd3a05491
tree9d5a56f718e8f467af3daf0089309d3b1ac9d12e
parent46f19ab1a652c06f8a0c3edfb62db80c3464abb3
[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