Convert affected by previous commit lines from DEBUG(10,..) to DBG_DEBUG().
authorTimur I. Bakeyev <timur@iXsystems.com>
Sun, 13 May 2018 04:18:21 +0000 (12:18 +0800)
committerRalph Boehme <slow@samba.org>
Wed, 16 May 2018 19:29:24 +0000 (21:29 +0200)
Signed-off-by: Timur I. Bakeyev <timur@iXsystems.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Autobuild-User(master): Ralph B√∂hme <slow@samba.org>
Autobuild-Date(master): Wed May 16 21:29:24 CEST 2018 on sn-devel-144

lib/dbwrap/dbwrap_tdb.c
source3/smbd/open.c

index 28e09d31963a933ea544048a7d75ecc28a897409..f59764535a212ab295570a84751e12f421ab7a45 100644 (file)
@@ -58,7 +58,7 @@ static void db_tdb_log_key(const char *prefix, TDB_DATA key)
        }
        keystr = hex_encode_talloc(frame, (unsigned char *)(key.dptr),
                                   len);
-       DEBUG(10, ("%s key %s\n", prefix, keystr));
+       DBG_DEBUG("%s key %s\n", prefix, keystr);
        TALLOC_FREE(frame);
 }
 
@@ -142,7 +142,7 @@ static struct db_record *db_tdb_fetch_locked_internal(
        state.result->storev = db_tdb_storev;
        state.result->delete_rec = db_tdb_delete;
 
-       DEBUG(10, ("Allocated locked data %p\n", state.result));
+       DBG_DEBUG("Allocated locked data %p\n", state.result);
 
        return state.result;
 }
index 3adea77902f4fab613c9c480ed5fbdfab9bf4ac2..61a42e29a108bca361447e16fac9de2e4d581864 100644 (file)
@@ -5047,7 +5047,7 @@ static NTSTATUS create_file_unixpath(connection_struct *conn,
        files_struct *fsp = NULL;
        NTSTATUS status;
 
-       DEBUG(10,("create_file_unixpath: access_mask = 0x%x "
+       DBG_DEBUG("create_file_unixpath: access_mask = 0x%x "
                  "file_attributes = 0x%x, share_access = 0x%x, "
                  "create_disposition = 0x%x create_options = 0x%x "
                  "oplock_request = 0x%x private_flags = 0x%x "
@@ -5060,7 +5060,7 @@ static NTSTATUS create_file_unixpath(connection_struct *conn,
                  (unsigned int)create_options,
                  (unsigned int)oplock_request,
                  (unsigned int)private_flags,
-                 ea_list, sd, smb_fname_str_dbg(smb_fname)));
+                 ea_list, sd, smb_fname_str_dbg(smb_fname));
 
        if (create_options & FILE_OPEN_BY_FILE_ID) {
                status = NT_STATUS_NOT_SUPPORTED;
@@ -5589,7 +5589,7 @@ NTSTATUS create_file_default(connection_struct *conn,
        NTSTATUS status;
        bool stream_name = false;
 
-       DEBUG(10,("create_file: access_mask = 0x%x "
+       DBG_DEBUG("create_file: access_mask = 0x%x "
                  "file_attributes = 0x%x, share_access = 0x%x, "
                  "create_disposition = 0x%x create_options = 0x%x "
                  "oplock_request = 0x%x "
@@ -5604,7 +5604,7 @@ NTSTATUS create_file_default(connection_struct *conn,
                  (unsigned int)oplock_request,
                  (unsigned int)private_flags,
                  (unsigned int)root_dir_fid,
-                 ea_list, sd, smb_fname_str_dbg(smb_fname)));
+                 ea_list, sd, smb_fname_str_dbg(smb_fname));
 
        /*
         * Calculate the filename from the root_dir_if if necessary.