1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-21 01:59:07 +03:00

Missed the removal of the incorrect ifdef.

Jeremy.
(This used to be commit 9cfa245bba2a116b7364ea22feaf6f63b362f5d7)
This commit is contained in:
Jeremy Allison 2002-12-04 03:21:18 +00:00
parent 9dc3ec5af3
commit d67ec06b7b

View File

@ -36,9 +36,7 @@ extern uint32 global_client_caps;
SMB_BIG_UINT get_allocation_size(files_struct *fsp, SMB_STRUCT_STAT *sbuf) SMB_BIG_UINT get_allocation_size(files_struct *fsp, SMB_STRUCT_STAT *sbuf)
{ {
SMB_BIG_UINT ret; SMB_BIG_UINT ret;
#if defined(HAVE_STAT_ST_BLKSIZE) && defined(HAVE_STAT_ST_BLOCKS) #if defined(HAVE_STAT_ST_BLOCKS) && defined(STAT_ST_BLOCKSIZE)
ret = (SMB_BIG_UINT)sbuf->st_blksize * (SMB_BIG_UINT)sbuf->st_blocks;
#elif defined(HAVE_STAT_ST_BLOCKS) && defined(STAT_ST_BLOCKSIZE)
ret = (SMB_BIG_UINT)STAT_ST_BLOCKSIZE * (SMB_BIG_UINT)sbuf->st_blocks; ret = (SMB_BIG_UINT)STAT_ST_BLOCKSIZE * (SMB_BIG_UINT)sbuf->st_blocks;
#else #else
ret = (SMB_BIG_UINT)get_file_size(*sbuf); ret = (SMB_BIG_UINT)get_file_size(*sbuf);