summaryrefslogtreecommitdiff
path: root/source3/smbd/durable.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/durable.c')
-rw-r--r--source3/smbd/durable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/durable.c b/source3/smbd/durable.c
index 15d70058c6..c5281a8856 100644
--- a/source3/smbd/durable.c
+++ b/source3/smbd/durable.c
@@ -864,7 +864,7 @@ NTSTATUS vfs_default_durable_reconnect(struct connection_struct *conn,
return NT_STATUS_OBJECT_NAME_NOT_FOUND;
}
- status = set_file_oplock(fsp, fsp->oplock_type);
+ status = set_file_oplock(fsp);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(1, ("vfs_default_durable_reconnect failed to set oplock "
"after opening file: %s\n", nt_errstr(status)));