summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-12-04 03:21:18 +0000
committerJeremy Allison <jra@samba.org>2002-12-04 03:21:18 +0000
commitd67ec06b7b6e6239b390b59ebd72f96e43e12064 (patch)
tree880e4ea96bae6f235aa7bc663eb0c34e8eafbf15
parent9dc3ec5af335ffea93135129d22461cc66e310c9 (diff)
downloadsamba-d67ec06b7b6e6239b390b59ebd72f96e43e12064.tar.gz
samba-d67ec06b7b6e6239b390b59ebd72f96e43e12064.tar.bz2
samba-d67ec06b7b6e6239b390b59ebd72f96e43e12064.zip
Missed the removal of the incorrect ifdef.
Jeremy. (This used to be commit 9cfa245bba2a116b7364ea22feaf6f63b362f5d7)
-rw-r--r--source3/smbd/trans2.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 33828c32bd..cd15a8f6fd 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -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 ret;
-#if defined(HAVE_STAT_ST_BLKSIZE) && defined(HAVE_STAT_ST_BLOCKS)
- ret = (SMB_BIG_UINT)sbuf->st_blksize * (SMB_BIG_UINT)sbuf->st_blocks;
-#elif defined(HAVE_STAT_ST_BLOCKS) && defined(STAT_ST_BLOCKSIZE)
+#if defined(HAVE_STAT_ST_BLOCKS) && defined(STAT_ST_BLOCKSIZE)
ret = (SMB_BIG_UINT)STAT_ST_BLOCKSIZE * (SMB_BIG_UINT)sbuf->st_blocks;
#else
ret = (SMB_BIG_UINT)get_file_size(*sbuf);