From 6c1d98eac06df7f033d8a69bb5be985067f96c9b Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 12 Jan 2012 14:46:45 -0800 Subject: Add comments to all functions (to help me understand it better). Autobuild-User: Jeremy Allison Autobuild-Date: Fri Jan 13 01:35:03 CET 2012 on sn-devel-104 --- source3/locking/locking.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/locking/locking.c') diff --git a/source3/locking/locking.c b/source3/locking/locking.c index 9199591d9e..7063b54d9c 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -448,6 +448,11 @@ char *share_mode_str(TALLOC_CTX *ctx, int num, const struct share_mode_entry *e) (unsigned int)e->name_hash); } +/******************************************************************* + Fetch a share mode where we know one MUST exist. This call reference + counts it internally to allow for nested lock fetches. +********************************************************************/ + struct share_mode_lock *get_share_mode_lock(TALLOC_CTX *mem_ctx, const struct file_id id) { -- cgit