s3-smbd: Leave sys_disk_free() if dfree command is used
commitd00db848baf44ed9f113a86f19bfc091ee0ef76e
authorAndreas Schneider <asn@samba.org>
Fri, 17 Jul 2015 07:35:11 +0000 (17 09:35 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 21 Jul 2015 22:06:21 +0000 (22 00:06 +0200)
treedc11a97aed5c3898eeeb0066689b335d44ca5e62
parent30fd8d1e3a48dd06d3243d4ee8b3826911c657e8
s3-smbd: Leave sys_disk_free() if dfree command is used

If we have a broken system which reports incorrect sizes we provide the
'dfree command'. This command makes sure Samba gets the correct values.
However after that we call the quota command which then reports the
broken values. The dfree command should take care to provide the correct
values and in case of quota's it should also calculate the quote
correctly.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11403

Pair-Programmed-With: Michael Adam <obnox@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 48a4d5a4078ff2a66dd753323d6e5d76d34b9828)
source3/smbd/dfree.c