Missed the removal of the incorrect ifdef.
authorJeremy Allison <jra@samba.org>
Wed, 4 Dec 2002 03:21:21 +0000 (03:21 +0000)
committerJeremy Allison <jra@samba.org>
Wed, 4 Dec 2002 03:21:21 +0000 (03:21 +0000)
Jeremy.
(This used to be commit f9cef6f42193b3ae70569e2c7584f088fb53a51c)

source3/smbd/trans2.c

index 33828c32bd6988ecf6d37aa4db299d7e14909fcd..cd15a8f6fd1eb1c899ae6c80c9bebec3cac81910 100644 (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 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);