summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-01-18 18:12:57 +0100
committerVolker Lendecke <vlendec@samba.org>2012-01-18 21:04:20 +0100
commit6d141282424f1eb62ee225a32e376162b773e7a8 (patch)
treebfe5a61b0c6b1fb809b2404117f610171ebbf7db
parent6411faf379e002605f5397c693d11760ba615abc (diff)
downloadsamba-6d141282424f1eb62ee225a32e376162b773e7a8.tar.gz
samba-6d141282424f1eb62ee225a32e376162b773e7a8.tar.bz2
samba-6d141282424f1eb62ee225a32e376162b773e7a8.zip
s3-aio-pthread: num threads should be int
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jan 18 21:04:20 CET 2012 on sn-devel-104
-rw-r--r--source3/modules/vfs_aio_pthread.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/modules/vfs_aio_pthread.c b/source3/modules/vfs_aio_pthread.c
index b6d4e1ef35..aeacf2895e 100644
--- a/source3/modules/vfs_aio_pthread.c
+++ b/source3/modules/vfs_aio_pthread.c
@@ -61,10 +61,8 @@ static void aio_pthread_handle_completion(struct event_context *event_ctx,
static int aio_get_num_threads(struct vfs_handle_struct *handle)
{
- return lp_parm_bool(SNUM(handle->conn),
- "aio_pthread",
- "aio num threads",
- 100);
+ return lp_parm_int(SNUM(handle->conn),
+ "aio_pthread", "aio num threads", 100);
}
/************************************************************************