From 8078e5f15bb23f95faa1c12cb7ddc8a62dcf2661 Mon Sep 17 00:00:00 2001 From: Uri Simchoni Date: Fri, 27 May 2016 21:42:49 +0300 Subject: [PATCH] vfs_fake_dfq - remove support for generating EDQUOT Remove the option to retrieve valid user/group quota while returning -1 and EDQUOT errno - this is no longer part of the protocol between the quota backend and smbd. Signed-off-by: Uri Simchoni Reviewed-by: Jeremy Allison --- source3/modules/vfs_fake_dfq.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source3/modules/vfs_fake_dfq.c b/source3/modules/vfs_fake_dfq.c index bf498600ef3..51ab7bb46d9 100644 --- a/source3/modules/vfs_fake_dfq.c +++ b/source3/modules/vfs_fake_dfq.c @@ -154,11 +154,6 @@ static int dfq_get_quota(struct vfs_handle_struct *handle, const char *path, qt->curinodes = dfq_load_param(snum, rpath, section, "cur inodes", 0); qt->qflags = dfq_load_param(snum, rpath, section, "qflags", QUOTAS_DENY_DISK); - if (dfq_load_param(snum, rpath, section, "edquot", 0) != 0) { - errno = EDQUOT; - rc = -1; - } - goto out; dflt: -- 2.47.3