diff options
author | Christian Ambach <ambi@samba.org> | 2012-08-08 17:46:59 +0200 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2012-08-16 18:05:29 +0200 |
commit | 7c56d80bee60895391fdec3f8f3f11d38a492190 (patch) | |
tree | 55be4d0c0200525e43296b9c340cbf015127cc89 /source3 | |
parent | 6e3901194bbd74e2f5e7a0f0928c52da92e729c1 (diff) | |
download | samba-7c56d80bee60895391fdec3f8f3f11d38a492190.tar.gz samba-7c56d80bee60895391fdec3f8f3f11d38a492190.tar.bz2 samba-7c56d80bee60895391fdec3f8f3f11d38a492190.zip |
s3:brlock: give traverse_fn a proper name
Diffstat (limited to 'source3')
-rw-r--r-- | source3/locking/brlock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c index efde59952e..e9c073b5c6 100644 --- a/source3/locking/brlock.c +++ b/source3/locking/brlock.c @@ -1587,7 +1587,7 @@ struct brl_forall_cb { on each lock. ****************************************************************************/ -static int traverse_fn(struct db_record *rec, void *state) +static int brl_traverse_fn(struct db_record *rec, void *state) { struct brl_forall_cb *cb = (struct brl_forall_cb *)state; struct lock_struct *locks; @@ -1666,7 +1666,7 @@ int brl_forall(void (*fn)(struct file_id id, struct server_id pid, } cb.fn = fn; cb.private_data = private_data; - status = dbwrap_traverse(brlock_db, traverse_fn, &cb, &count); + status = dbwrap_traverse(brlock_db, brl_traverse_fn, &cb, &count); if (!NT_STATUS_IS_OK(status)) { return -1; |