Rev 3143 | Rev 3790 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3143 | Rev 3382 | ||
---|---|---|---|
Line 116... | Line 116... | ||
116 | /* |
116 | /* |
117 | * Workaround for valid NULL address. |
117 | * Workaround for valid NULL address. |
118 | */ |
118 | */ |
119 | 119 | ||
120 | for (i = 0; i < leaf->keys; i++) { |
120 | for (i = 0; i < leaf->keys; i++) { |
121 | if (leaf->key[i] == page) { |
121 | if (leaf->key[i] == page - area->base) { |
122 | found = true; |
122 | found = true; |
123 | break; |
123 | break; |
124 | } |
124 | } |
125 | } |
125 | } |
126 | } |
126 | } |