X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=source3%2Fsmbd%2Fopen.c;h=ed3ef90f1691d92884d17c23fac39b37e214c627;hb=e5c84840737692b6c445e4ed316d869f6d0394bf;hp=daa9bb9188469f4c02c070fcdd0182508cb7401f;hpb=da84242f5b91858b0df9ace9c565dd2a53d4998a;p=ira%2Fwip.git diff --git a/source3/smbd/open.c b/source3/smbd/open.c index daa9bb91884..ed3ef90f169 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -1594,7 +1594,8 @@ NTSTATUS smbd_calculate_access_mask(connection_struct *conn, void remove_deferred_open_entry(struct file_id id, uint64_t mid, struct server_id pid) { - struct share_mode_lock *lck = get_share_mode_lock(talloc_tos(), id); + struct share_mode_lock *lck = get_existing_share_mode_lock( + talloc_tos(), id); if (lck == NULL) { DEBUG(0, ("could not get share mode lock\n")); return;