From e5c84840737692b6c445e4ed316d869f6d0394bf Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 19 Feb 2012 14:23:56 +0100 Subject: s3: get_share_mode_lock->get_existing_share_mode_lock --- source3/smbd/trans2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/trans2.c') diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 336e76e481..d2eff4d8f5 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -7565,7 +7565,7 @@ static NTSTATUS smb_posix_unlink(connection_struct *conn, * non-POSIX opens return SHARING_VIOLATION. */ - lck = get_share_mode_lock(talloc_tos(), fsp->file_id); + lck = get_existing_share_mode_lock(talloc_tos(), fsp->file_id); if (lck == NULL) { DEBUG(0, ("smb_posix_unlink: Could not get share mode " "lock for file %s\n", fsp_str_dbg(fsp))); -- cgit