search for: get_dfree_info

Displaying 2 results from an estimated 2 matches for "get_dfree_info".

2009 Jul 01
0
Unix Extensions + ext3 quotas + df
...tvfs_struct svfs; if (!lp_unix_extensions()) { return ERROR_NT(NT_STATUS_INVALID_LEVEL); } rc = SMB_VFS_STATVFS(conn, ".", &svfs); if (!rc) { + + { + SMB_BIG_UINT dfree,dsize,bsize,block_size,sectors_per_unit,bytes_per_sector; + + if (get_dfree_info(conn,".",False,&bsize,&dfree,&dsize) != (SMB_BIG_UINT)-1) { + block_size = lp_block_size(snum); + if (bsize < block_size) { + SMB_BIG_UINT factor = block_size/bsize; + bsize = block_size; + dsize /= factor; + dfree /= factor; +...
2006 Jun 24
1
Quota / OpLock file truncation again
I am seeing a potentially serious bug with samba 3.0.22 on Linux (Ubuntu Dapper Drake). I found the following old discussions about the same problem: http://lists.samba.org/archive/samba-technical/2004-September/037328.html and http://lists.samba.org/archive/samba/2003-July/071081.html as well as this old closed bug in bugzilla: https://bugzilla.samba.org/show_bug.cgi?id=679 I