s3:streams_xattr: fstat should do a stat on the base file
[kai/samba.git] / source3 / modules / vfs_streams_xattr.c
index 6530a1813bd29bc16187d4d5670c78f3d7d055ac..ecfc31970dae7a960437779833047b49995f0cd4 100644 (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;
        }