diff options
Diffstat (limited to 'source3/locking')
-rw-r--r-- | source3/locking/leases_db.c | 1 | ||||
-rw-r--r-- | source3/locking/leases_db.h | 1 | ||||
-rw-r--r-- | source3/locking/locking.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/source3/locking/leases_db.c b/source3/locking/leases_db.c index 7e000aa0752..4cb38f0091e 100644 --- a/source3/locking/leases_db.c +++ b/source3/locking/leases_db.c @@ -389,6 +389,7 @@ NTSTATUS leases_db_parse(const struct GUID *client_guid, NTSTATUS leases_db_rename(const struct GUID *client_guid, const struct smb2_lease_key *lease_key, const struct file_id *id, + const char *servicename_new, const char *filename_new, const char *stream_name_new) { diff --git a/source3/locking/leases_db.h b/source3/locking/leases_db.h index 906a99bc610..f3988632b50 100644 --- a/source3/locking/leases_db.h +++ b/source3/locking/leases_db.h @@ -45,6 +45,7 @@ NTSTATUS leases_db_parse(const struct GUID *client_guid, NTSTATUS leases_db_rename(const struct GUID *client_guid, const struct smb2_lease_key *lease_key, const struct file_id *id, + const char *servicepath_new, const char *filename_new, const char *stream_name_new); #endif /* _LEASES_DB_H_ */ diff --git a/source3/locking/locking.c b/source3/locking/locking.c index dd73f683af8..221d6ee8d6e 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -575,6 +575,7 @@ bool rename_share_filename(struct messaging_context *msg_ctx, status = leases_db_rename(&l->client_guid, &l->lease_key, &id, + d->servicepath, d->base_name, d->stream_name); if (!NT_STATUS_IS_OK(status)) { |