summaryrefslogtreecommitdiff
path: root/source3/smbd/ntquotas.c
diff options
context:
space:
mode:
authorUri Simchoni <uri@samba.org>2016-01-10 13:29:25 +0200
committerMichael Adam <obnox@samba.org>2016-01-26 15:58:12 +0100
commitc464b9e46069a741014333135728a9342ffa45cb (patch)
treec8ab696528bf6629d24eadda0fd91dcffd885f6c /source3/smbd/ntquotas.c
parentf71761c47a4c3b160b60c25a56e01a7a887992ab (diff)
downloadsamba-c464b9e46069a741014333135728a9342ffa45cb.tar.gz
vfs: add path parameter to get_quota
Adding a path parameter would allow the VFS get_quota function to be used for determining the quota/usage when calculating size and free spacei. Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/smbd/ntquotas.c')
-rw-r--r--source3/smbd/ntquotas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/ntquotas.c b/source3/smbd/ntquotas.c
index 15fd35b92e4..aa2ec3b76a5 100644
--- a/source3/smbd/ntquotas.c
+++ b/source3/smbd/ntquotas.c
@@ -96,7 +96,7 @@ int vfs_get_ntquota(files_struct *fsp, enum SMB_QUOTA_TYPE qtype, struct dom_sid
sid_string_dbg(psid)));
}
- ret = SMB_VFS_GET_QUOTA(fsp->conn, qtype, id, &D);
+ ret = SMB_VFS_GET_QUOTA(fsp->conn, ".", qtype, id, &D);
if (psid)
qt->sid = *psid;