summaryrefslogtreecommitdiff
path: root/memfd.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-01-12 23:50:54 +0800
committerKay Sievers <kay@vrfy.org>2014-01-14 20:18:15 +0800
commit05a380d403470813af107eaaa27cb27ac4864abc (patch)
treed8ddbef7962604292f9288dc8a54d7ca7de508d8 /memfd.c
parent334072c0e59d79610c0446f50e959113b65b1bf9 (diff)
downloadkdbus-bus-05a380d403470813af107eaaa27cb27ac4864abc.tar.gz
kdbus-bus-05a380d403470813af107eaaa27cb27ac4864abc.tar.bz2
kdbus-bus-05a380d403470813af107eaaa27cb27ac4864abc.zip
identify anon inode as [kdbus-memfd]
Diffstat (limited to 'memfd.c')
-rw-r--r--memfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/memfd.c b/memfd.c
index 2af6291c13b..95206929abe 100644
--- a/memfd.c
+++ b/memfd.c
@@ -126,7 +126,7 @@ int kdbus_memfd_new(int *fd)
* invisible shmem inode. We rely on the fact that nothing else
* can create a new file for the shmem inode, like by opening the
* fd in /proc/$PID/fd/ */
- fp = anon_inode_getfile("[" KBUILD_MODNAME "]",
+ fp = anon_inode_getfile("[" KBUILD_MODNAME "-memfd]",
&kdbus_memfd_fops, mf, O_RDWR);
if (IS_ERR(fp)) {
ret = PTR_ERR(fp);