> srpt_disconnect_ch(ch); > > + kref_put(&ch->kref, srpt_free_ch);
At some point it might be a good idea to have a srpt_put_ch helper to wrap this pattern. Otherwise looks good: Reviewed-by: Christoph Hellwig <h...@lst.de> -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html