/* Removes the file from the fileystem, which also frees the rchan_buf_struct and the channel buffer. Should only be called from kref_put().  */
static void relay_remove_buf(struct kref *kref)
/* Removes the file from the fileystem, which also frees the rchan_buf_struct and the channel buffer. Should only be called from kref_put().  */
static void relay_remove_buf(struct kref *kref)
{
	struct rchan_buf *buf = container_of(kref, struct rchan_buf, kref);
	buf->chan->cb->remove_buf_file(buf->dentry);
	relay_destroy_buf(buf);
}