[SCM] Samba Shared Repository - branch v3-4-test updated - release-4-0-0alpha7-584-g66ea221

Volker Lendecke vlendec at samba.org
Thu Mar 26 11:32:12 GMT 2009


The branch, v3-4-test has been updated
       via  66ea221009d9d72868a989c33d48177accc9d924 (commit)
      from  97c30f557aab49f199df07f2a48ba94ad9cc81c5 (commit)

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


- Log -----------------------------------------------------------------
commit 66ea221009d9d72868a989c33d48177accc9d924
Author: Volker Lendecke <vl at 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:
 source3/locking/locking.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index bafb895..7084122 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -887,7 +887,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


More information about the samba-cvs mailing list