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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/relayfs/buffers.c b/fs/relayfs/buffers.c
index 84e21ffa5ca..667b529944c 100644
--- a/fs/relayfs/buffers.c
+++ b/fs/relayfs/buffers.c
@@ -186,4 +186,5 @@ void relay_remove_buf(struct kref *kref)
{
struct rchan_buf *buf = container_of(kref, struct rchan_buf, kref);
relayfs_remove(buf->dentry);
+ relay_destroy_buf(buf);
}