git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f717802
)
s3:smbXsrv_open: allow now==0 to skip the idle_time update.
author
Stefan Metzmacher
<metze@samba.org>
Thu, 10 Apr 2014 22:29:48 +0000
(
00:29
+0200)
committer
Jeremy Allison
<jra@samba.org>
Fri, 11 Apr 2014 19:41:08 +0000
(21:41 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/smbXsrv_open.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smbXsrv_open.c
b/source3/smbd/smbXsrv_open.c
index b15be287691b49bab76df436278554e826f8eb90..c3ff3bb5b333c525cf9280047d7bf9649a711a16 100644
(file)
--- a/
source3/smbd/smbXsrv_open.c
+++ b/
source3/smbd/smbXsrv_open.c
@@
-444,7
+444,9
@@
static NTSTATUS smbXsrv_open_local_lookup(struct smbXsrv_open_table *table,
return NT_STATUS_FILE_CLOSED;
}
- state.op->idle_time = now;
+ if (now != 0) {
+ state.op->idle_time = now;
+ }
*_open = state.op;
return state.op->status;