summaryrefslogtreecommitdiff
path: root/source3/smbd/vfs.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-10-31 22:30:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:15 -0500
commit86909281c8e128c5aef08f51615b868e1c179964 (patch)
tree4bd813f1a6a6ced0d966c4bcef12b8d0cd2ed8f7 /source3/smbd/vfs.c
parent6baec64a7370ff1871f0b806a623b1fc1a898acb (diff)
downloadsamba-86909281c8e128c5aef08f51615b868e1c179964.tar.gz
samba-86909281c8e128c5aef08f51615b868e1c179964.tar.bz2
samba-86909281c8e128c5aef08f51615b868e1c179964.zip
r11428: Fix bug #3192 by actually hooking up the dfree caching
function. Oops. Jeremy. (This used to be commit 7edb26e7657fc01710abe563b941779749409ef2)
Diffstat (limited to 'source3/smbd/vfs.c')
-rw-r--r--source3/smbd/vfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index 52966d59ae..001d42d172 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -563,7 +563,7 @@ int vfs_allocate_file_space(files_struct *fsp, SMB_BIG_UINT len)
len -= st.st_size;
len /= 1024; /* Len is now number of 1k blocks needed. */
- space_avail = SMB_VFS_DISK_FREE(conn,fsp->fsp_name,False,&bsize,&dfree,&dsize);
+ space_avail = get_dfree_info(conn,fsp->fsp_name,False,&bsize,&dfree,&dsize);
if (space_avail == (SMB_BIG_UINT)-1) {
return -1;
}