diff options
author | Volker Lendecke <vl@samba.org> | 2013-09-03 13:57:11 +0000 |
---|---|---|
committer | David Disseldorp <ddiss@samba.org> | 2013-10-24 14:22:03 +0200 |
commit | 184cc138b6fcd832fd084a919d65ad2f273bf5eb (patch) | |
tree | 6c71c407fdb75173fd7413be9f4982fcbc08e2b2 /source3/smbd/durable.c | |
parent | bd542281bc424e4feae255df16b04f598d692304 (diff) | |
download | samba-184cc138b6fcd832fd084a919d65ad2f273bf5eb.tar.gz samba-184cc138b6fcd832fd084a919d65ad2f273bf5eb.tar.bz2 samba-184cc138b6fcd832fd084a919d65ad2f273bf5eb.zip |
smbd: Remove separate oplock_type parameter from set_file_oplock
This avoids the question where it could happen that something else but
fsp->oplock_type might be useful as an argument here.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'source3/smbd/durable.c')
-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 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))); |