diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-11-17 07:17:55 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:55 -0500 |
commit | f4e5f3a498bce04312898dfe92104fafc1fc2aa2 (patch) | |
tree | 0ce2a234541dc79a81379da683f6a00529ac234b /source4/ntvfs/posix/pvfs_xattr.c | |
parent | 856f663adc2459044f7a20c2974bcb41ed561f77 (diff) | |
download | samba-f4e5f3a498bce04312898dfe92104fafc1fc2aa2.tar.gz samba-f4e5f3a498bce04312898dfe92104fafc1fc2aa2.tar.bz2 samba-f4e5f3a498bce04312898dfe92104fafc1fc2aa2.zip |
r3801: added allocation size rounding. This is needed for ifstest.
(This used to be commit 8a6fa43156667f75e058c7d44b1c15a6cf7067b2)
Diffstat (limited to 'source4/ntvfs/posix/pvfs_xattr.c')
-rw-r--r-- | source4/ntvfs/posix/pvfs_xattr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_xattr.c b/source4/ntvfs/posix/pvfs_xattr.c index ff0c0f5116..6984c2d284 100644 --- a/source4/ntvfs/posix/pvfs_xattr.c +++ b/source4/ntvfs/posix/pvfs_xattr.c @@ -224,7 +224,8 @@ NTSTATUS pvfs_dosattrib_load(struct pvfs_state *pvfs, struct pvfs_filename *name name->dos.attrib = pvfs_attrib_normalise(info1->attrib); name->dos.ea_size = info1->ea_size; if (name->st.st_size == info1->size) { - name->dos.alloc_size = info1->alloc_size; + name->dos.alloc_size = + pvfs_round_alloc_size(pvfs, info1->alloc_size); } if (info1->create_time != 0) { name->dos.create_time = info1->create_time; |