From 05a380d403470813af107eaaa27cb27ac4864abc Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 12 Jan 2014 23:50:54 +0800 Subject: [PATCH] identify anon inode as [kdbus-memfd] --- memfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memfd.c b/memfd.c index 2af6291..9520692 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); -- 2.34.1