|
@@ -435,9 +435,10 @@ void rds_rdma_unuse(struct rds_sock *rs, u32 r_key, int force)
|
|
|
|
|
|
/* If the MR was marked as invalidate, this will
|
|
/* If the MR was marked as invalidate, this will
|
|
* trigger an async flush. */
|
|
* trigger an async flush. */
|
|
- if (zot_me)
|
|
|
|
|
|
+ if (zot_me) {
|
|
rds_destroy_mr(mr);
|
|
rds_destroy_mr(mr);
|
|
- rds_mr_put(mr);
|
|
|
|
|
|
+ rds_mr_put(mr);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
void rds_rdma_free_op(struct rm_rdma_op *ro)
|
|
void rds_rdma_free_op(struct rm_rdma_op *ro)
|