summaryrefslogtreecommitdiffstats
path: root/source3/smbd/dfree.c
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2014-02-04 15:09:12 +1300
committerJeremy Allison <jra@samba.org>2014-02-07 16:19:16 -0800
commitfe9974ca45ec6d9a43d70cea3bd28243e43f785e (patch)
treeb6ef785197ff2f778d94b280a32698215cc93684 /source3/smbd/dfree.c
parente3052c5bd94de2ae282c124685f17f5632e14b29 (diff)
downloadsamba-fe9974ca45ec6d9a43d70cea3bd28243e43f785e.tar.gz
samba-fe9974ca45ec6d9a43d70cea3bd28243e43f785e.tar.xz
samba-fe9974ca45ec6d9a43d70cea3bd28243e43f785e.zip
param: rename lp function and variable from "maxdisksize" to "max_disk_size"
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
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 e6a0af2185..d02c1bd66a 100644
--- a/source3/smbd/dfree.c
+++ b/source3/smbd/dfree.c
@@ -28,7 +28,7 @@
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();
+ uint64_t maxdisksize = lp_max_disk_size();
if (maxdisksize) {
/* convert to blocks - and don't overflow */
maxdisksize = ((maxdisksize*1024)/(*bsize))*1024;