]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbd: Update reply_close() to modern DBG_ coding style.
authorJeremy Allison <jra@samba.org>
Wed, 18 Mar 2020 21:29:30 +0000 (14:29 -0700)
committerRalph Boehme <slow@samba.org>
Mon, 23 Mar 2020 09:40:45 +0000 (09:40 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/reply.c

index 47bc31c854032769f2450a61bb2be910bd7b994f..47fdd8e3f74c38f3f27276f137982e5122b89d33 100644 (file)
@@ -6031,10 +6031,10 @@ void reply_close(struct smb_request *smb1req)
                return;
        }
 
-       DEBUG(3, ("Close %s fd=%d %s (numopen=%d)\n",
+       DBG_NOTICE("Close %s fd=%d %s (numopen=%d)\n",
                  fsp->is_directory ? "directory" : "file",
                  fsp->fh->fd, fsp_fnum_dbg(fsp),
-                 conn->num_files_open));
+                 conn->num_files_open);
 
        if (!fsp->is_directory) {
                time_t t;
@@ -6051,8 +6051,8 @@ void reply_close(struct smb_request *smb1req)
 
                struct reply_close_state *state;
 
-               DEBUG(10, ("closing with aio %u requests pending\n",
-                          fsp->num_aio_requests));
+               DBG_DEBUG("closing with aio %u requests pending\n",
+                          fsp->num_aio_requests);
 
                /*
                 * Flag the file as close in progress.
@@ -6117,8 +6117,8 @@ static void do_smb1_close(struct tevent_req *req)
        ret = tevent_wait_recv(req);
        TALLOC_FREE(req);
        if (ret != 0) {
-               DEBUG(10, ("tevent_wait_recv returned %s\n",
-                          strerror(ret)));
+               DBG_DEBUG("tevent_wait_recv returned %s\n",
+                          strerror(ret));
                /*
                 * Continue anyway, this should never happen
                 */