diff options
author | Volker Lendecke <vl@samba.org> | 2014-09-23 05:18:54 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2014-11-04 21:19:11 +0100 |
commit | ac37fae12b5023a2680df73fe230825be069b515 (patch) | |
tree | cbd8ab0f98a3df1955bd552eeeab3b1562b5159b /source3/locking | |
parent | e4305846e7fb3963336189f30839811424151c84 (diff) | |
download | samba-ac37fae12b5023a2680df73fe230825be069b515.tar.gz |
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>
(cherry picked from commit 0d4f7bfdb995a239508457cd433bc8001c0e8279)
Diffstat (limited to 'source3/locking')
-rw-r--r-- | source3/locking/proto.h | 4 | ||||
-rw-r--r-- | source3/locking/share_mode_lock.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/locking/proto.h b/source3/locking/proto.h index 46eec2af06d..ce8c25cf52a 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 12f499b1b97..53039eb81ad 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; |