diff options
author | Ralph Boehme <slow@samba.org> | 2020-10-13 15:19:30 +0200 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2020-10-23 07:56:32 +0000 |
commit | c4cbe0610cfa275581332c156963301e8c6d013b (patch) | |
tree | ddae3ddf07998552f3083ac5bf6d6b0665ec7e59 /examples | |
parent | 54b4d2d3cb307019a260d15c6e6b4a3fb7fc337c (diff) | |
download | samba-c4cbe0610cfa275581332c156963301e8c6d013b.tar.gz |
vfs: make dirfsp arg to SMB_VFS_READLINKAT() const
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/VFS/skel_opaque.c | 2 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 90ee82ab258..2a3a7301bdb 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -474,7 +474,7 @@ static int skel_symlinkat(vfs_handle_struct *handle, } static int skel_vfs_readlinkat(vfs_handle_struct *handle, - files_struct *dirfsp, + const struct files_struct *dirfsp, const struct smb_filename *smb_fname, char *buf, size_t bufsiz) diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index d48ac47443b..a86b3e7cd19 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -600,7 +600,7 @@ static int skel_symlinkat(vfs_handle_struct *handle, } static int skel_vfs_readlinkat(vfs_handle_struct *handle, - files_struct *dirfsp, + const struct files_struct *dirfsp, const struct smb_filename *smb_fname, char *buf, size_t bufsiz) |