summaryrefslogtreecommitdiffstats
path: root/fs/relayfs/buffers.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/relayfs/buffers.c')
-rw-r--r--fs/relayfs/buffers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/relayfs/buffers.c b/fs/relayfs/buffers.c
index 667b529944c5..10187812771e 100644
--- a/fs/relayfs/buffers.c
+++ b/fs/relayfs/buffers.c
@@ -185,6 +185,6 @@ void relay_destroy_buf(struct rchan_buf *buf)
void relay_remove_buf(struct kref *kref)
{
struct rchan_buf *buf = container_of(kref, struct rchan_buf, kref);
- relayfs_remove(buf->dentry);
+ buf->chan->cb->remove_buf_file(buf->dentry);
relay_destroy_buf(buf);
}