mirror of
https://github.com/samba-team/samba.git
synced 2025-09-05 13:44:19 +03:00
s3: Fix two arguments that broke when plumbing smb_filneame through dos_mode()
This commit is contained in:
@@ -448,8 +448,8 @@ static bool get_stat_dos_flags(connection_struct *conn,
|
|||||||
if (S_ISDIR(smb_fname->st.st_ex_mode))
|
if (S_ISDIR(smb_fname->st.st_ex_mode))
|
||||||
*dosmode |= aDIR;
|
*dosmode |= aDIR;
|
||||||
|
|
||||||
*dosmode |= set_sparse_flag(smb_fname->st);
|
*dosmode |= set_sparse_flag(&smb_fname->st);
|
||||||
*dosmode |= set_link_read_only_flag(smb_fname->st);
|
*dosmode |= set_link_read_only_flag(&smb_fname->st);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user