mirror of
https://github.com/samba-team/samba.git
synced 2025-03-24 10:50:22 +03:00
s3: smbd: In parent_dirname_compatible_open(), use helper function vfs_stat().
This is a change in behavior, but the old behavior was incorrect. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Noel Power <npower@samba.org>
This commit is contained in:
parent
04a4cd2ada
commit
eb0e68d0e7
@ -7072,7 +7072,7 @@ static NTSTATUS parent_dirname_compatible_open(connection_struct *conn,
|
||||
return status;
|
||||
}
|
||||
|
||||
ret = SMB_VFS_LSTAT(conn, smb_fname_parent);
|
||||
ret = vfs_stat(conn, smb_fname_parent);
|
||||
if (ret == -1) {
|
||||
return map_nt_error_from_unix(errno);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user