|
@@ -1839,7 +1839,7 @@ static void *irlmp_seq_hb_idx(struct irlmp_iter_state *iter, loff_t *off)
|
|
for (element = hashbin_get_first(iter->hashbin);
|
|
for (element = hashbin_get_first(iter->hashbin);
|
|
element != NULL;
|
|
element != NULL;
|
|
element = hashbin_get_next(iter->hashbin)) {
|
|
element = hashbin_get_next(iter->hashbin)) {
|
|
- if (!off || *off-- == 0) {
|
|
|
|
|
|
+ if (!off || (*off)-- == 0) {
|
|
/* NB: hashbin left locked */
|
|
/* NB: hashbin left locked */
|
|
return element;
|
|
return element;
|
|
}
|
|
}
|