svn commit: samba r21369 - in branches/SAMBA_3_0/source/smbd: .
idra at samba.org
idra at samba.org
Thu Feb 15 16:50:22 GMT 2007
Author: idra
Date: 2007-02-15 16:50:14 +0000 (Thu, 15 Feb 2007)
New Revision: 21369
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21369
Log:
sys_disk_free return type is SMB_BIG_UINT.
Fix dfree_retval to be SMB_BIG_UINT as well,
otherwise we may wrap up on > 2T file systems.
Simo.
Modified:
branches/SAMBA_3_0/source/smbd/dfree.c
Changeset:
Modified: branches/SAMBA_3_0/source/smbd/dfree.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/dfree.c 2007-02-15 14:50:30 UTC (rev 21368)
+++ branches/SAMBA_3_0/source/smbd/dfree.c 2007-02-15 16:50:14 UTC (rev 21369)
@@ -66,7 +66,7 @@
SMB_BIG_UINT sys_disk_free(connection_struct *conn, const char *path, BOOL small_query,
SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SMB_BIG_UINT *dsize)
{
- int dfree_retval;
+ SMB_BIG_UINT dfree_retval;
SMB_BIG_UINT dfree_q = 0;
SMB_BIG_UINT bsize_q = 0;
SMB_BIG_UINT dsize_q = 0;
More information about the samba-cvs
mailing list