From 5aec3814340696971e05a5f10970bcd4ce3c519b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 16 Mar 2008 11:55:59 +0100 Subject: Need to close the /dev/zero fd (This used to be commit c2b2a9303d9c84ba4e059f13de9ccc401d08bd59) --- source3/modules/vfs_aio_fork.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/modules') diff --git a/source3/modules/vfs_aio_fork.c b/source3/modules/vfs_aio_fork.c index 21f63d0b87..28428f2e49 100644 --- a/source3/modules/vfs_aio_fork.c +++ b/source3/modules/vfs_aio_fork.c @@ -56,6 +56,8 @@ static struct mmap_area *mmap_area_init(TALLOC_CTX *mem_ctx, size_t size) goto fail; } + close(fd); + result->size = size; talloc_set_destructor(result, mmap_area_destructor); -- cgit