git.samba.org
/
mdw
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f08bda2
)
s3:locking:brlock: explain the lockdb_clean semantic better in brl_reconnect_disconne...
author
Michael Adam
<obnox@samba.org>
Fri, 12 Apr 2013 09:13:57 +0000
(11:13 +0200)
committer
Michael Adam
<obnox@samba.org>
Thu, 18 Apr 2013 11:15:12 +0000
(13:15 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Gregor Beck <gbeck@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/locking/brlock.c
patch
|
blob
|
history
diff --git
a/source3/locking/brlock.c
b/source3/locking/brlock.c
index e95458989a815c608574bb16a0092c885d155548..9680b8ff87805ad39823b86fcbb1c2458b172b03 100644
(file)
--- a/
source3/locking/brlock.c
+++ b/
source3/locking/brlock.c
@@
-1595,7
+1595,11
@@
bool brl_reconnect_disconnected(struct files_struct *fsp)
return false;
}
- /* we want to validate ourself */
+ /*
+ * When reconnecting, we do not want to validate the brlock entries
+ * and thereby remove our own (disconnected) entries but reactivate
+ * them instead.
+ */
fsp->lockdb_clean = true;
br_lck = brl_get_locks(talloc_tos(), fsp);