1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00

s3:streams_xattr: fstat should do a stat on the base file

The behavior of stat and fstat should be the same.

metze
This commit is contained in:
Stefan Metzmacher 2008-12-01 14:26:58 -08:00 committed by Jeremy Allison
parent a8004a4ef5
commit 65169a43b3

View File

@ -148,7 +148,7 @@ static int streams_xattr_fstat(vfs_handle_struct *handle, files_struct *fsp,
return -1;
}
if (SMB_VFS_NEXT_FSTAT(handle, fsp, sbuf) == -1) {
if (SMB_VFS_STAT(handle->conn, io->base, sbuf) == -1) {
return -1;
}