diff options
author | Volker Lendecke <vl@samba.org> | 2011-12-13 13:56:49 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-12-13 17:27:26 +0100 |
commit | 2d2d72e479142ad7d1a40955793bcf63d5b4ee14 (patch) | |
tree | 0cc222b1492156df34e98f98519baf2a626895a7 /source3/smbd | |
parent | 3239c722aa528a4f00f3201425182f7f105dbfe2 (diff) | |
download | samba-2d2d72e479142ad7d1a40955793bcf63d5b4ee14.tar.gz samba-2d2d72e479142ad7d1a40955793bcf63d5b4ee14.tar.bz2 samba-2d2d72e479142ad7d1a40955793bcf63d5b4ee14.zip |
s3: Remove an else{} in remove_deferred_open_entry
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/open.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index a697ee86b5..ee0ba082f8 100644 --- 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); } /**************************************************************** |