The branch, v3-3-test has been updated
       via  74efc72bca5707ff35df9282c843d62c4cf331c3 (commit)
      from  fe102f53d1ac6f888bd559eaf52b6a166d5f78d3 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit 74efc72bca5707ff35df9282c843d62c4cf331c3
Author: Volker Lendecke <v...@samba.org>
Date:   Thu Mar 26 12:24:50 2009 +0100

    Fix a scary "fill_share_mode_lock failed" message
    
    To me "fill_share_mode_lock failed" is a "can't happen" alert. There is
    however a perfectly valid case in get_file_infos() when the file is not 
open.
    
    Change the corresponding debug message to level 10 and explain more.

-----------------------------------------------------------------------

Summary of changes:
 source/locking/locking.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/locking/locking.c b/source/locking/locking.c
index 9bd5361..41fe1c9 100644
--- a/source/locking/locking.c
+++ b/source/locking/locking.c
@@ -854,7 +854,8 @@ struct share_mode_lock 
*fetch_share_mode_unlocked(TALLOC_CTX *mem_ctx,
        }
 
        if (!fill_share_mode_lock(lck, id, servicepath, fname, data, NULL)) {
-               DEBUG(3, ("fill_share_mode_lock failed\n"));
+               DEBUG(10, ("fetch_share_mode_unlocked: no share_mode record "
+                          "around (file not open)\n"));
                TALLOC_FREE(lck);
                return NULL;
        }


-- 
Samba Shared Repository

Reply via email to