diff options
author | Volker Lendecke <vl@samba.org> | 2019-11-09 21:11:38 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-11-12 20:56:35 +0000 |
commit | fea35840b0504ac2fc8a3d85cb044f3d9fb345dd (patch) | |
tree | 455ba8e1b7b0b682910108224efac442ac531a57 | |
parent | 6fe211c85d93910960438c48b86614baac7db7de (diff) | |
download | samba-fea35840b0504ac2fc8a3d85cb044f3d9fb345dd.tar.gz |
smbd: Use file_id_str_buf() in share_mode_cleanup_disconnected()
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r-- | source3/locking/share_mode_lock.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/locking/share_mode_lock.c b/source3/locking/share_mode_lock.c index 8b82b5137b0..4fcca861e48 100644 --- a/source3/locking/share_mode_lock.c +++ b/source3/locking/share_mode_lock.c @@ -1199,13 +1199,13 @@ bool share_mode_cleanup_disconnected(struct file_id fid, struct share_mode_data *data; bool ret = false; TALLOC_CTX *frame = talloc_stackframe(); + struct file_id_buf idbuf; bool ok; state.lck = get_existing_share_mode_lock(frame, fid); if (state.lck == NULL) { - DEBUG(5, ("share_mode_cleanup_disconnected: " - "Could not fetch share mode entry for %s\n", - file_id_string(frame, &fid))); + DBG_INFO("Could not fetch share mode entry for %s\n", + file_id_str_buf(fid, &idbuf)); goto done; } data = state.lck->data; @@ -1228,7 +1228,7 @@ bool share_mode_cleanup_disconnected(struct file_id fid, "with file (file-id='%s', servicepath='%s', " "base_name='%s%s%s') and open_persistent_id %"PRIu64" " "==> do not cleanup\n", - file_id_string(frame, &fid), + file_id_str_buf(fid, &idbuf), data->servicepath, data->base_name, (data->stream_name == NULL) @@ -1244,7 +1244,7 @@ bool share_mode_cleanup_disconnected(struct file_id fid, "with file (file-id='%s', servicepath='%s', " "base_name='%s%s%s') and open_persistent_id %"PRIu64" " "==> do not cleanup\n", - file_id_string(frame, &fid), + file_id_str_buf(fid, &idbuf), data->servicepath, data->base_name, (data->stream_name == NULL) @@ -1260,7 +1260,7 @@ bool share_mode_cleanup_disconnected(struct file_id fid, "base_name='%s%s%s') " "from open_persistent_id %"PRIu64"\n", data->num_share_modes, - file_id_string(frame, &fid), + file_id_str_buf(fid, &idbuf), data->servicepath, data->base_name, (data->stream_name == NULL) |