svn commit: samba r7795 - in branches/SAMBA_4_0/source/ntvfs/posix:
.
tridge at samba.org
tridge at samba.org
Tue Jun 21 04:33:24 GMT 2005
Author: tridge
Date: 2005-06-21 04:33:24 +0000 (Tue, 21 Jun 2005)
New Revision: 7795
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7795
Log:
use a share specific allocation rounding
Modified:
branches/SAMBA_4_0/source/ntvfs/posix/vfs_posix.c
Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/posix/vfs_posix.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/posix/vfs_posix.c 2005-06-21 04:29:30 UTC (rev 7794)
+++ branches/SAMBA_4_0/source/ntvfs/posix/vfs_posix.c 2005-06-21 04:33:24 UTC (rev 7795)
@@ -52,7 +52,8 @@
}
/* 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;
More information about the samba-cvs
mailing list