From c34144d0d70b966f847cac13b83bd53663854548 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 26 Dec 2013 00:09:33 +0100 Subject: [PATCH] memfd: use KBUILD_MODNAME --- memfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memfd.c b/memfd.c index 205c891..aa87faf 100644 --- a/memfd.c +++ b/memfd.c @@ -125,7 +125,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("[kdbus]", &kdbus_memfd_fops, mf, O_RDWR); + fp = anon_inode_getfile("[" KBUILD_MODNAME "]", &kdbus_memfd_fops, mf, O_RDWR); if (IS_ERR(fp)) { ret = PTR_ERR(fp); goto exit_fd; -- 2.34.1