blob: d0d7d96261adf11b9a7dec250918b38470141852 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * include/linux/anon_inodes.h
4 *
5 * Copyright (C) 2007 Davide Libenzi <davidel@xmailserver.org>
6 *
7 */
8
9#ifndef _LINUX_ANON_INODES_H
10#define _LINUX_ANON_INODES_H
11
12struct file_operations;
13
14struct file *anon_inode_getfile(const char *name,
15 const struct file_operations *fops,
16 void *priv, int flags);
17int anon_inode_getfd(const char *name, const struct file_operations *fops,
18 void *priv, int flags);
19
20#endif /* _LINUX_ANON_INODES_H */
21