]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Merge two DEBUGs into one
authorVolker Lendecke <vl@samba.org>
Mon, 12 Aug 2019 10:12:48 +0000 (12:12 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 19 Aug 2019 23:14:38 +0000 (23:14 +0000)
This looks easier to understand to me, less lines in logfiles

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
source3/smbd/open.c

index 1bac935d3b7eaf26784ea34bc3ccac3c3e95a2ed..8d0464870f66d38df5a3bc17954fab86d25a42ec 100644 (file)
@@ -1463,19 +1463,19 @@ static bool share_conflict(struct share_mode_entry *entry,
 {
        DBG_DEBUG("entry->access_mask = 0x%"PRIx32", "
                  "entry->share_access = 0x%"PRIx32", "
-                 "entry->private_options = 0x%"PRIx32"\n",
+                 "entry->private_options = 0x%"PRIx32", "
+                 "access_mask = 0x%"PRIx32", "
+                 "share_access = 0x%"PRIx32"\n",
                  entry->access_mask,
                  entry->share_access,
-                 entry->private_options);
+                 entry->private_options,
+                 access_mask,
+                 share_access);
 
        if (server_id_is_disconnected(&entry->pid)) {
                return false;
        }
 
-       DBG_DEBUG("access_mask = 0x%"PRIx32", share_access = 0x%"PRIx32"\n",
-                 access_mask,
-                 share_access);
-
        if ((entry->access_mask & (FILE_WRITE_DATA|
                                   FILE_APPEND_DATA|
                                   FILE_READ_DATA|