s3-smbd: Leave sys_disk_free() if dfree command is used
authorAndreas Schneider <asn@samba.org>
Fri, 17 Jul 2015 07:35:11 +0000 (09:35 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 21 Jul 2015 14:52:09 +0000 (16:52 +0200)
commit28ee83dbf46888b1f68693f6a7ca778a8b382df4
treec665b94b1366d2d7c65ea801fb39665273eba637
parentd7d60d837e236f2dfee873158e5df6640e17136d
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