git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3: Introduce get_share_mode_lock_fresh()
[ira/wip.git]
/
source3
/
smbd
/
reply.c
diff --git
a/source3/smbd/reply.c
b/source3/smbd/reply.c
index 4954098de7d513e936949d57dfbe2e5cff96e05a..b8da33549c9fba03b79d22ed018285168c6a70f8 100644
(file)
--- a/
source3/smbd/reply.c
+++ b/
source3/smbd/reply.c
@@
-6207,8
+6207,7
@@
NTSTATUS rename_internals_fsp(connection_struct *conn,
status = NT_STATUS_ACCESS_DENIED;
}
- lck = get_share_mode_lock(talloc_tos(), fsp->file_id, NULL, NULL,
- NULL);
+ lck = get_share_mode_lock(talloc_tos(), fsp->file_id);
/*
* We have the file open ourselves, so not being able to get the