Displaying 1 result from an estimated 1 matches for "smb_vfs_statvf".
Did you mean:
smb_vfs_statvfs
2009 Jul 01
0
Unix Extensions + ext3 quotas + df
...***********
*** 2583,2612 ****
--- 2583,2642 ----
CIFS_UNIX_POSIX_PATH_OPERATIONS_CAP)));
break;
case SMB_QUERY_POSIX_FS_INFO:
{
int rc;
vfs_statvfs_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)...