summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorUri Simchoni <uri@samba.org>2016-01-10 15:38:49 +0200
committerMichael Adam <obnox@samba.org>2016-01-26 15:58:12 +0100
commit9e60cbfc7cff553c6e5ecfaa73a2e69d58c0e85a (patch)
tree3de1c1172b2e271a8a5183f8ad86d79ecedbf5d2 /source3
parent279c9ce129a2ea16ee7effdd7a46f2d0bf9e95ad (diff)
downloadsamba-9e60cbfc7cff553c6e5ecfaa73a2e69d58c0e85a.tar.gz
vfs_ceph: do not call disk_norm() on disk_free_fn
This is handled at SMB layer now. Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/vfs_ceph.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/modules/vfs_ceph.c b/source3/modules/vfs_ceph.c
index 2bc387af794..d51499d92f3 100644
--- a/source3/modules/vfs_ceph.c
+++ b/source3/modules/vfs_ceph.c
@@ -175,7 +175,6 @@ static uint64_t cephwrap_disk_free(struct vfs_handle_struct *handle,
*bsize = statvfs_buf.f_bsize;
*dfree = statvfs_buf.f_bavail;
*dsize = statvfs_buf.f_blocks;
- disk_norm(bsize, dfree, dsize);
DEBUG(10, ("[CEPH] bsize: %llu, dfree: %llu, dsize: %llu\n",
llu(*bsize), llu(*dfree), llu(*dsize)));
return *dfree;