[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-3522-gf73d4cf
Volker Lendecke
vlendec at samba.org
Thu Mar 26 11:33:28 GMT 2009
The branch, v3-2-test has been updated
via f73d4cf1fcfd8f9e2543a222faed133472fd890c (commit)
from 490ed838f2626893bb623ea6ad8d79595c8c44c4 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit f73d4cf1fcfd8f9e2543a222faed133472fd890c
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:
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 eebf870..b8cd29f 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
More information about the samba-cvs
mailing list