}
static bool vfswrap_is_offline(struct connection_struct *conn,
- const struct smb_filename *fname,
- SMB_STRUCT_STAT *sbuf);
+ const struct smb_filename *fname);
static NTSTATUS vfswrap_get_dos_attributes(struct vfs_handle_struct *handle,
struct smb_filename *smb_fname,
{
bool offline;
- offline = vfswrap_is_offline(handle->conn, smb_fname, &smb_fname->st);
+ offline = vfswrap_is_offline(handle->conn, smb_fname);
if (offline) {
*dosmode |= FILE_ATTRIBUTE_OFFLINE;
}
{
bool offline;
- offline = vfswrap_is_offline(handle->conn,
- fsp->fsp_name,
- &fsp->fsp_name->st);
+ offline = vfswrap_is_offline(handle->conn, fsp->fsp_name);
if (offline) {
*dosmode |= FILE_ATTRIBUTE_OFFLINE;
}
}
static bool vfswrap_is_offline(struct connection_struct *conn,
- const struct smb_filename *fname,
- SMB_STRUCT_STAT *sbuf)
+ const struct smb_filename *fname)
{
NTSTATUS status;
char *path;