diff options
author | Uri Simchoni <uri@samba.org> | 2016-04-27 23:22:25 +0300 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2016-06-01 16:23:59 +0200 |
commit | 445e678626dc2a97c8d03d5515fef741fb8a1352 (patch) | |
tree | 861e68222b4c2995e222c6a4d4984bc0f1599fa5 /selftest | |
parent | b0f727534b062e3c2d73a18cbe039860999e30c5 (diff) | |
download | samba-445e678626dc2a97c8d03d5515fef741fb8a1352.tar.gz |
smbd: dfree - ignore quota if not enforced
When calculating free disk space, do not take user quota
into account if quota is globally not enforced on the file
system.
This is meant to fix a specific problem with XFS. One might
say "why don't you fix the XFS-specific code instead?". The
reason for that is that getting and setting quota must not
be affected by whether quota is actually enforced. NTFS has
the same notion of separating quota accounting (and being
able to configure / retrieve configured quota), from quota
enforcement.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11937
Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat May 28 00:09:05 CEST 2016 on sn-devel-144
(cherry picked from commit 42151f6fa25fefc8a6ae7388ca85379c07c93e1e)
Autobuild-User(v4-4-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-4-test): Wed Jun 1 16:23:59 CEST 2016 on sn-devel-144
Diffstat (limited to 'selftest')
-rw-r--r-- | selftest/knownfail | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/selftest/knownfail b/selftest/knownfail index a2e5ff45d26..997d29cba82 100644 --- a/selftest/knownfail +++ b/selftest/knownfail @@ -325,5 +325,3 @@ # we don't allow auth_level_connect anymore... # ^samba3.blackbox.rpcclient.*ncacn_np.*with.*connect.*rpcclient # we don't allow auth_level_connect anymore -#new disk-free tests fail the code -^samba3.blackbox.dfree_quota \(fileserver\).Test dfree share root quota not enforced\(fileserver\) |