diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/durable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/durable.c b/source3/smbd/durable.c index 9b05d48680..15d70058c6 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, e->op_type); + status = set_file_oplock(fsp, fsp->oplock_type); if (!NT_STATUS_IS_OK(status)) { DEBUG(1, ("vfs_default_durable_reconnect failed to set oplock " "after opening file: %s\n", nt_errstr(status))); |