mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
s3: VFS: fruit: Inside fruit_open_meta_netatalk() change to use fsp->base_fsp->fsp_name in ad_get() instead of smb_fname.
We know this will have a valid fsp within. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
53e0494958
commit
6eaf027458
@ -1432,7 +1432,7 @@ static int fruit_open_meta_netatalk(vfs_handle_struct *handle,
|
||||
SMB_ASSERT(fsp->base_fsp != NULL);
|
||||
SMB_ASSERT(fsp->base_fsp->fsp_name->fsp == fsp->base_fsp);
|
||||
|
||||
ad = ad_get(talloc_tos(), handle, smb_fname, ADOUBLE_META);
|
||||
ad = ad_get(talloc_tos(), handle, fsp->base_fsp->fsp_name, ADOUBLE_META);
|
||||
if (ad != NULL) {
|
||||
meta_exists = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user