From: Volker Lendecke Date: Mon, 9 Sep 2019 14:30:57 +0000 (+0200) Subject: smbd: Use file_id_str_buf() in defer_open() X-Git-Tag: talloc-2.3.1~920 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd691fbc94cf8da744e70bca0165e6a8356cffc5;p=thirdparty%2Fsamba.git smbd: Use file_id_str_buf() in defer_open() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 7797df03e4b..94e8753e32a 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -2417,6 +2417,7 @@ static void defer_open(struct share_mode_lock *lck, struct defer_open_state *watch_state; struct tevent_req *watch_req; struct timeval_buf tvbuf1, tvbuf2; + struct file_id_buf fbuf; bool ok; abs_timeout = timeval_sum(&req->request_time, &timeout); @@ -2427,7 +2428,7 @@ static void defer_open(struct share_mode_lock *lck, timeval_str_buf(&abs_timeout, false, true, &tvbuf2), req->mid, delayed_for_oplocks ? "yes" : "no", - file_id_string_tos(&id)); + file_id_str_buf(id, &fbuf)); open_rec = talloc_zero(NULL, struct deferred_open_record); if (open_rec == NULL) {