mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3: Make request_timed_out() static
Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
35c0f164bc
commit
d2eb26cfbd
@ -1416,8 +1416,8 @@ static void grant_fsp_oplock_type(files_struct *fsp,
|
|||||||
fsp->oplock_type, fsp_str_dbg(fsp)));
|
fsp->oplock_type, fsp_str_dbg(fsp)));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool request_timed_out(struct timeval request_time,
|
static bool request_timed_out(struct timeval request_time,
|
||||||
struct timeval timeout)
|
struct timeval timeout)
|
||||||
{
|
{
|
||||||
struct timeval now, end_time;
|
struct timeval now, end_time;
|
||||||
GetTimeOfDay(&now);
|
GetTimeOfDay(&now);
|
||||||
|
@ -606,8 +606,6 @@ NTSTATUS change_dir_owner_to_parent(connection_struct *conn,
|
|||||||
const char *fname,
|
const char *fname,
|
||||||
SMB_STRUCT_STAT *psbuf);
|
SMB_STRUCT_STAT *psbuf);
|
||||||
bool is_stat_open(uint32 access_mask);
|
bool is_stat_open(uint32 access_mask);
|
||||||
bool request_timed_out(struct timeval request_time,
|
|
||||||
struct timeval timeout);
|
|
||||||
bool open_match_attributes(connection_struct *conn,
|
bool open_match_attributes(connection_struct *conn,
|
||||||
uint32 old_dos_attr,
|
uint32 old_dos_attr,
|
||||||
uint32 new_dos_attr,
|
uint32 new_dos_attr,
|
||||||
|
Loading…
Reference in New Issue
Block a user