git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3239c72
)
s3: Remove an else{} in remove_deferred_open_entry
author
Volker Lendecke
<vl@samba.org>
Tue, 13 Dec 2011 12:56:49 +0000
(13:56 +0100)
committer
Volker Lendecke
<vlendec@samba.org>
Tue, 13 Dec 2011 16:27:26 +0000
(17:27 +0100)
source3/smbd/open.c
patch
|
blob
|
history
diff --git
a/source3/smbd/open.c
b/source3/smbd/open.c
index a697ee86b5a4fb07c186c8d3bdac33162235bf27..ee0ba082f88aa539786cc1d0dbcc4fd34ff944e0 100644
(file)
--- a/
source3/smbd/open.c
+++ b/
source3/smbd/open.c
@@
-1548,10
+1548,10
@@
void remove_deferred_open_entry(struct file_id id, uint64_t mid,
NULL, NULL, NULL);
if (lck == NULL) {
DEBUG(0, ("could not get share mode lock\n"));
- } else {
- del_deferred_open_entry(lck, mid, pid);
- TALLOC_FREE(lck);
+ return;
}
+ del_deferred_open_entry(lck, mid, pid);
+ TALLOC_FREE(lck);
}
/****************************************************************