mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +03:00
smbd: Prepare to return the reparse tag from fsctl_get_reparse_point
We'll need this in many places, for example when listing directories Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
db5c23e4be
commit
4b98f993a2
source3/modules
@ -23,6 +23,7 @@
|
||||
|
||||
NTSTATUS fsctl_get_reparse_point(struct files_struct *fsp,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
uint32_t *_reparse_tag,
|
||||
uint8_t **_out_data,
|
||||
uint32_t max_out_len,
|
||||
uint32_t *_out_len)
|
||||
|
@ -23,6 +23,7 @@
|
||||
|
||||
NTSTATUS fsctl_get_reparse_point(struct files_struct *fsp,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
uint32_t *_reparse_tag,
|
||||
uint8_t **_out_data,
|
||||
uint32_t max_out_len,
|
||||
uint32_t *_out_len);
|
||||
|
@ -1506,8 +1506,9 @@ static NTSTATUS vfswrap_fsctl(struct vfs_handle_struct *handle,
|
||||
|
||||
case FSCTL_GET_REPARSE_POINT:
|
||||
{
|
||||
uint32_t tag;
|
||||
status = fsctl_get_reparse_point(
|
||||
fsp, ctx, _out_data, max_out_len, out_len);
|
||||
fsp, ctx, &tag, _out_data, max_out_len, out_len);
|
||||
return status;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user