s3:brlock: give traverse_fn a proper name
authorChristian Ambach <ambi@samba.org>
Wed, 8 Aug 2012 15:46:59 +0000 (17:46 +0200)
committerChristian Ambach <ambi@samba.org>
Thu, 16 Aug 2012 16:05:29 +0000 (18:05 +0200)
source3/locking/brlock.c

index efde59952eaaa377629f724086c54457bb163ac6..e9c073b5c631ae3c976c40c0228a32aecd4bfdae 100644 (file)
@@ -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;