summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-02-19 14:23:56 +0100
committerVolker Lendecke <vl@samba.org>2012-02-19 17:44:26 +0100
commite5c84840737692b6c445e4ed316d869f6d0394bf (patch)
tree8f891a860d0736a0686b1e76cc13cb36db4bf8e1 /source3/smbd/trans2.c
parentda84242f5b91858b0df9ace9c565dd2a53d4998a (diff)
downloadsamba-e5c84840737692b6c445e4ed316d869f6d0394bf.tar.gz
samba-e5c84840737692b6c445e4ed316d869f6d0394bf.tar.bz2
samba-e5c84840737692b6c445e4ed316d869f6d0394bf.zip
s3: get_share_mode_lock->get_existing_share_mode_lock
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
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)));