diff options
author | Kay Sievers <kay@vrfy.org> | 2014-01-12 23:50:54 +0800 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2014-01-14 20:18:15 +0800 |
commit | 05a380d403470813af107eaaa27cb27ac4864abc (patch) | |
tree | d8ddbef7962604292f9288dc8a54d7ca7de508d8 /memfd.c | |
parent | 334072c0e59d79610c0446f50e959113b65b1bf9 (diff) | |
download | kdbus-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |