summaryrefslogtreecommitdiff
path: root/source3/smbd/vfs-wrap.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-10-19 20:02:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:06 -0500
commitc6aea6ef2d97982263b1652b7c186df269bf0de6 (patch)
tree3b56fedaf2c5107945724005d9d16cb03438ff7e /source3/smbd/vfs-wrap.c
parentad93243f2399c2f349434dbbb33ed3766a817a8d (diff)
downloadsamba-c6aea6ef2d97982263b1652b7c186df269bf0de6.tar.gz
samba-c6aea6ef2d97982263b1652b7c186df269bf0de6.tar.bz2
samba-c6aea6ef2d97982263b1652b7c186df269bf0de6.zip
r11190: Fix enhancement request #3192.
This does 2 things. 1). Makes dfree command a per-share parameter (it should be anyway IMHO). 2). Adds a "dfree cache time" parameter in seconds that specifies how long a dfree command output should be cached for. Default is zero (no caching). Jeremy. (This used to be commit 49ef8b88a3e12883148eb28d8e86fb07dbc3d12d)
Diffstat (limited to 'source3/smbd/vfs-wrap.c')
-rw-r--r--source3/smbd/vfs-wrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/vfs-wrap.c b/source3/smbd/vfs-wrap.c
index 9ae1592a8e..c203af0c55 100644
--- a/source3/smbd/vfs-wrap.c
+++ b/source3/smbd/vfs-wrap.c
@@ -46,7 +46,7 @@ SMB_BIG_UINT vfswrap_disk_free(vfs_handle_struct *handle, connection_struct *con
{
SMB_BIG_UINT result;
- result = sys_disk_free(path, small_query, bsize, dfree, dsize);
+ result = sys_disk_free(conn, path, small_query, bsize, dfree, dsize);
return result;
}