]> Git Repo - J-linux.git/blob - include/linux/memfd.h
Drivers: hv: vmbus: Resolve more races involving init_vp_index()
[J-linux.git] / include / linux / memfd.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __LINUX_MEMFD_H
3 #define __LINUX_MEMFD_H
4
5 #include <linux/file.h>
6
7 #ifdef CONFIG_MEMFD_CREATE
8 extern long memfd_fcntl(struct file *file, unsigned int cmd, unsigned long arg);
9 #else
10 static inline long memfd_fcntl(struct file *f, unsigned int c, unsigned long a)
11 {
12         return -EINVAL;
13 }
14 #endif
15
16 #endif /* __LINUX_MEMFD_H */
This page took 0.029556 seconds and 4 git commands to generate.