diff options
Diffstat (limited to 'source4/ntvfs/posix')
-rw-r--r-- | source4/ntvfs/posix/vfs_posix.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |