summaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
diff options
context:
space:
mode:
authorAl Viro2018-06-09 15:40:05 +0200
committerAl Viro2018-07-12 16:04:23 +0200
commitd93aa9d82aea80b80f225dbf9c7986df444d8106 (patch)
tree887b5626f375e6745e034e227eb0c583fbefad99 /mm/shmem.c
parentkill FILE_{CREATED,OPENED} (diff)
downloadkernel-qcow2-linux-d93aa9d82aea80b80f225dbf9c7986df444d8106.tar.gz
kernel-qcow2-linux-d93aa9d82aea80b80f225dbf9c7986df444d8106.tar.xz
kernel-qcow2-linux-d93aa9d82aea80b80f225dbf9c7986df444d8106.zip
new wrapper: alloc_file_pseudo()
takes inode, vfsmount, name, O_... flags and file_operations and either returns a new struct file (in which case inode reference we held is consumed) or returns ERR_PTR(), in which case no refcounts are altered. converted aio_private_file() and sock_alloc_file() to it Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions