s3: fix calculation of st_blocks in streams_xattr
authorBjörn Jacke <bj@sernet.de>
Wed, 9 Jun 2010 13:24:26 +0000 (15:24 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 18 Jun 2010 06:33:30 +0000 (08:33 +0200)
commitbf543a1372bbb3aada53e0bd249ba52209cc07cd
treec1dacf5f1416d775ea6fe0e31f758a4acb5cbfd5
parent3e2a38d6ebdbfad1e7b6d6f86dfa85cd1f591e89
s3: fix calculation of st_blocks in streams_xattr

Thanks to Joachim Schmitz for finding that miscalculation.
(cherry picked from commit 6a6bb768c6542d738a8b2b6da282159a65ed611d)

Fix bug #7503 (vfs_stream_xattr calculates st_blocks wrong).
(cherry picked from commit 3f8a03cfdaa29e54b50738df4e7b782228e2d931)
source3/modules/vfs_streams_xattr.c