s3:smb2_create: fix allocation size return value when opening existing files
authorChristian Ambach <ambi@samba.org>
Mon, 10 Oct 2011 15:48:18 +0000 (17:48 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 10 Oct 2011 19:49:53 +0000 (21:49 +0200)
commitec0c1f2c34ea520b4a7d636ba284a9c7d3ecd96f
tree784269f7948484e30e7dae72c39deee419932bc1
parent795aefec0c77da0ab49d89ef9c31862e822b68e5
s3:smb2_create: fix allocation size return value when opening existing files

at least on GPFS, using the stat information gave wrong results
example: FileInfo gave 12582912000, Create Response gave 25769803776000

This makes the create part use the same method as fileinfo,
matching up the replies of both calls

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Oct 10 21:49:53 CEST 2011 on sn-devel-104
source3/smbd/smb2_create.c