git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cc6415
)
r7795: use a share specific allocation rounding
author
Andrew Tridgell
<tridge@samba.org>
Tue, 21 Jun 2005 04:33:24 +0000
(
04:33
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:18:37 +0000
(13:18 -0500)
(This used to be commit
9adacb0d1620d4cfadd515239b853977cf03a719
)
source4/ntvfs/posix/vfs_posix.c
patch
|
blob
|
history
diff --git
a/source4/ntvfs/posix/vfs_posix.c
b/source4/ntvfs/posix/vfs_posix.c
index 906428fc6dfb77c6d6c031f1664d67df4715647c..ac12f3853fbed67566fa3a770dd0deafab7f3b8e 100644
(file)
--- 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;