diff options
Diffstat (limited to 'source3/smbd/fileio.c')
-rw-r--r-- | source3/smbd/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/fileio.c b/source3/smbd/fileio.c index de5f83c868f..843b3f9586a 100644 --- a/source3/smbd/fileio.c +++ b/source3/smbd/fileio.c @@ -949,7 +949,7 @@ NTSTATUS sync_file(connection_struct *conn, files_struct *fsp, bool write_throug int fsp_stat(files_struct *fsp, SMB_STRUCT_STAT *pst) { if (fsp->fh->fd == -1) { - return SMB_VFS_STAT(fsp->conn, fsp->fsp_name, pst); + return vfs_stat_smb_fname(fsp->conn, fsp->fsp_name, pst); } else { return SMB_VFS_FSTAT(fsp, pst); } |