'\" t
.\"     Title: relay_remove_buf
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\"      Date: June 2017
.\"    Manual: relay interface support
.\"    Source: Kernel Hackers Manual 4.9.30
.\"  Language: English
.\"
.TH "RELAY_REMOVE_BUF" "9" "June 2017" "Kernel Hackers Manual 4\&.9\&." "relay interface support"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
relay_remove_buf \- remove a channel buffer
.SH "SYNOPSIS"
.HP \w'void\ relay_remove_buf('u
.BI "void relay_remove_buf(struct\ kref\ *\ " "kref" ");"
.SH "ARGUMENTS"
.PP
\fIkref\fR
.RS 4
target kernel reference that contains the relay buffer
.RE
.SH "DESCRIPTION"
.PP
Removes the file from the filesystem, which also frees the rchan_buf_struct and the channel buffer\&. Should only be called from
\fBkref_put\fR\&.
.SH "COPYRIGHT"
.br
