summaryrefslogtreecommitdiffstats
path: root/source/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
commit7edb26e7657fc01710abe563b941779749409ef2 (patch)
tree11a185c77ad1cf8ea4ef78bd1f73b298070741e2 /source/smbd/vfs.c
parent4cd8e2a96b98ff711905e8c6f416b22440c16062 (diff)
downloadsamba-7edb26e7657fc01710abe563b941779749409ef2.tar.gz
samba-7edb26e7657fc01710abe563b941779749409ef2.tar.xz
samba-7edb26e7657fc01710abe563b941779749409ef2.zip
r11428: Fix bug #3192 by actually hooking up the dfree caching
function. Oops. Jeremy.
Diffstat (limited to 'source/smbd/vfs.c')
-rw-r--r--source/smbd/vfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/vfs.c b/source/smbd/vfs.c
index 52966d59aea..001d42d172f 100644
--- a/source/smbd/vfs.c
+++ b/source/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;
}