summaryrefslogtreecommitdiffstats
path: root/source3/locking
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-09-23 05:18:54 +0200
committerJeremy Allison <jra@samba.org>2014-10-31 03:47:40 +0100
commit0d4f7bfdb995a239508457cd433bc8001c0e8279 (patch)
tree311a74140b9c4e59680e54fc422b4d548f559996 /source3/locking
parentc3b00b99449c7d19de81a2b9e1b8ef776e8cbb20 (diff)
downloadsamba-0d4f7bfdb995a239508457cd433bc8001c0e8279.tar.gz
samba-0d4f7bfdb995a239508457cd433bc8001c0e8279.tar.xz
samba-0d4f7bfdb995a239508457cd433bc8001c0e8279.zip
s3:locking: Rename share_mode_forall->share_entry_forall
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/proto.h4
-rw-r--r--source3/locking/share_mode_lock.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/locking/proto.h b/source3/locking/proto.h
index 46eec2af06..ce8c25cf52 100644
--- a/source3/locking/proto.h
+++ b/source3/locking/proto.h
@@ -190,8 +190,8 @@ bool is_delete_on_close_set(struct share_mode_lock *lck, uint32_t name_hash);
bool set_sticky_write_time(struct file_id fileid, struct timespec write_time);
bool set_write_time(struct file_id fileid, struct timespec write_time);
struct timespec get_share_mode_write_time(struct share_mode_lock *lck);
-int share_mode_forall(void (*fn)(const struct share_mode_entry *, const char *,
- const char *, void *),
+int share_entry_forall(void (*fn)(const struct share_mode_entry *, const char *,
+ const char *, void *),
void *private_data);
bool share_mode_cleanup_disconnected(struct file_id id,
uint64_t open_persistent_id);
diff --git a/source3/locking/share_mode_lock.c b/source3/locking/share_mode_lock.c
index 12f499b1b9..53039eb81a 100644
--- a/source3/locking/share_mode_lock.c
+++ b/source3/locking/share_mode_lock.c
@@ -499,8 +499,8 @@ static int traverse_fn(struct db_record *rec, void *_state)
share mode system.
********************************************************************/
-int share_mode_forall(void (*fn)(const struct share_mode_entry *, const char *,
- const char *, void *),
+int share_entry_forall(void (*fn)(const struct share_mode_entry *,
+ const char *, const char *, void *),
void *private_data)
{
struct forall_state state;