hfi1/user_exp_rcv/setup: increment phys appropriately
Old code was always registering the same section with different size, instead of properly covering the requested map
This commit is contained in:
committed by
Balazs Gerofi
parent
4816f27639
commit
9a36e5d213
@ -193,8 +193,9 @@ int hfi1_user_exp_rcv_setup(struct hfi1_filedata *fd, struct hfi1_tid_info *tinf
|
||||
else
|
||||
tid_group_add_tail(grp, &uctxt->tid_used_list);
|
||||
unlock:
|
||||
spin_unlock(&fd->tid_lock);
|
||||
spin_unlock(&fd->tid_lock);
|
||||
|
||||
phys += 1 << (order+12);
|
||||
if (ret < 0)
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user