mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
modules: Use conn->cwd_fsp in fruit_open_rsrc_adouble()
None of the adouble infrastructure is really prepared for a dirfsp that is not conn->cwd_fsp, there are quite a few direct references to it in adouble.c. This needs conversion, but at this point we need to make fruit_openat() robust against a non-cwd_fsp dirfsp argument. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
6dc463d3e2
commit
ef341e0f2d
@ -1586,7 +1586,7 @@ static int fruit_open_rsrc_adouble(vfs_handle_struct *handle,
|
||||
goto exit;
|
||||
}
|
||||
|
||||
status = adouble_open_from_base_fsp(dirfsp,
|
||||
status = adouble_open_from_base_fsp(fsp->conn->cwd_fsp,
|
||||
fsp->base_fsp,
|
||||
ADOUBLE_RSRC,
|
||||
flags,
|
||||
|
Loading…
Reference in New Issue
Block a user