summaryrefslogtreecommitdiffstats
path: root/fs/relayfs/relay.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/relayfs/relay.c')
-rw-r--r--fs/relayfs/relay.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/relayfs/relay.c b/fs/relayfs/relay.c
index 7fbda177ad8f..a9cd5585c45c 100644
--- a/fs/relayfs/relay.c
+++ b/fs/relayfs/relay.c
@@ -176,7 +176,8 @@ static struct rchan_buf *relay_open_buf(struct rchan *chan,
return NULL;
/* Create file in fs */
- dentry = relayfs_create_file(filename, parent, S_IRUSR, buf);
+ dentry = relayfs_create_file(filename, parent, S_IRUSR,
+ &relayfs_file_operations, buf);
if (!dentry) {
relay_destroy_buf(buf);
return NULL;