s3-smbd: Leave sys_disk_free() if dfree command is used
commit48a4d5a4078ff2a66dd753323d6e5d76d34b9828
authorAndreas Schneider <asn@samba.org>
Fri, 17 Jul 2015 07:35:11 +0000 (17 09:35 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 17 Jul 2015 17:07:23 +0000 (17 19:07 +0200)
treee023ed6e31b0a6a81d14e1788d7fb20ed6bc4d8e
parent323e4f89fca2f4f0e017a36a27427be32b42fc54
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>
source3/smbd/dfree.c