summaryrefslogtreecommitdiff
path: root/source3/smbd/dfree.c
diff options
context:
space:
mode:
authorChristof Schmitt <christof.schmitt@us.ibm.com>2012-03-02 14:26:10 -0700
committerChristian Ambach <ambi@samba.org>2012-03-22 18:41:22 +0100
commit4262eb401fac0a6f9f0f76bff390041ad6600536 (patch)
treef848a7d52b542a2157882ae0f6e5b9982d3d86dd /source3/smbd/dfree.c
parent80cb6e84de0fa5c713bf1ba4c5866cdb1aea15f5 (diff)
downloadsamba-4262eb401fac0a6f9f0f76bff390041ad6600536.tar.gz
samba-4262eb401fac0a6f9f0f76bff390041ad6600536.tar.bz2
samba-4262eb401fac0a6f9f0f76bff390041ad6600536.zip
s3:vfs_gpfs: Export disk_norm function
vfs modules implementing the disk_free callback need access to the function disk_norm for normalizing the data if the parameter small query is true.
Diffstat (limited to 'source3/smbd/dfree.c')
-rw-r--r--source3/smbd/dfree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/dfree.c b/source3/smbd/dfree.c
index 03541880e1..1a73132ae5 100644
--- a/source3/smbd/dfree.c
+++ b/source3/smbd/dfree.c
@@ -25,7 +25,7 @@
Normalise for DOS usage.
****************************************************************************/
-static void disk_norm(bool small_query, uint64_t *bsize,uint64_t *dfree,uint64_t *dsize)
+void disk_norm(bool small_query, uint64_t *bsize,uint64_t *dfree,uint64_t *dsize)
{
/* check if the disk is beyond the max disk size */
uint64_t maxdisksize = lp_maxdisksize();