identify anon inode as [kdbus-memfd]
authorKay Sievers <kay@vrfy.org>
Sun, 12 Jan 2014 15:50:54 +0000 (23:50 +0800)
committerKay Sievers <kay@vrfy.org>
Tue, 14 Jan 2014 12:18:15 +0000 (20:18 +0800)
memfd.c

diff --git a/memfd.c b/memfd.c
index 2af6291c13b457659727a9c26628b773e85eef66..95206929abe7cdccc5fa78736e84c039254b6e2f 100644 (file)
--- 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);