diff options
author | Jeremy Allison <jra@samba.org> | 2017-06-01 11:45:25 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-06-18 02:49:25 +0200 |
commit | 0da76414fdc6a0aacea6282a76b384a702615408 (patch) | |
tree | e762b30e8ffbe21577be8f6d65dd2f0480787d82 /examples/VFS/skel_opaque.c | |
parent | 0037815453fa6141d3c0325c3ab197326324ab53 (diff) | |
download | samba-0da76414fdc6a0aacea6282a76b384a702615408.tar.gz |
s3: VFS: Change SMB_VFS_GET_QUOTA to use const struct smb_filename * instead of const char *.
We need to migrate all pathname based VFS calls to use a struct
to finish modernising the VFS with extra timestamp and flags parameters.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
Diffstat (limited to 'examples/VFS/skel_opaque.c')
-rw-r--r-- | examples/VFS/skel_opaque.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 40951db35e3..7dd258f1528 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -56,9 +56,11 @@ static uint64_t skel_disk_free(vfs_handle_struct *handle, return 0; } -static int skel_get_quota(vfs_handle_struct *handle, const char *path, - enum SMB_QUOTA_TYPE qtype, unid_t id, - SMB_DISK_QUOTA *dq) +static int skel_get_quota(vfs_handle_struct *handle, + const struct smb_filename *smb_fname, + enum SMB_QUOTA_TYPE qtype, + unid_t id, + SMB_DISK_QUOTA *dq) { errno = ENOSYS; return -1; |