Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310554
b: refs/heads/master
c: cbf8ae3
h: refs/heads/master
v: v3
  • Loading branch information
Roland Dreier authored and Linus Torvalds committed Jun 7, 2012
1 parent a40345b commit 0dfe3c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7d8a45695cc8f9fcdf4121fcbd897ecb63f758e4
refs/heads/master: cbf8ae32f66a9ceb8907ad9e16663c2a29e48990
4 changes: 2 additions & 2 deletions trunk/lib/btree.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,8 @@ void *btree_get_prev(struct btree_head *head, struct btree_geo *geo,

if (head->height == 0)
return NULL;
retry:
longcpy(key, __key, geo->keylen);
retry:
dec_key(geo, key);

node = head->node;
Expand Down Expand Up @@ -351,7 +351,7 @@ void *btree_get_prev(struct btree_head *head, struct btree_geo *geo,
}
miss:
if (retry_key) {
__key = retry_key;
longcpy(key, retry_key, geo->keylen);
retry_key = NULL;
goto retry;
}
Expand Down

0 comments on commit 0dfe3c9

Please sign in to comment.