From 5e40d0187b86f758b0fa744365e657ec6ee40ff5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 21 Jun 2005 04:33:24 +0000 Subject: r7795: use a share specific allocation rounding (This used to be commit 9adacb0d1620d4cfadd515239b853977cf03a719) --- source4/ntvfs/posix/vfs_posix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/ntvfs/posix/vfs_posix.c b/source4/ntvfs/posix/vfs_posix.c index 906428fc6d..ac12f3853f 100644 --- a/source4/ntvfs/posix/vfs_posix.c +++ b/source4/ntvfs/posix/vfs_posix.c @@ -52,7 +52,8 @@ static void pvfs_setup_options(struct pvfs_state *pvfs) } /* this must be a power of 2 */ - pvfs->alloc_size_rounding = lp_parm_int(-1, "posix", "allocationrounding", 512); + pvfs->alloc_size_rounding = lp_parm_int(snum, + "posix", "allocationrounding", 512); #if HAVE_XATTR_SUPPORT if (lp_parm_bool(snum, "posix", "xattr", True)) pvfs->flags |= PVFS_FLAG_XATTR_ENABLE; -- cgit