diff options
Diffstat (limited to 'include/linux/shmem_fs.h')
-rw-r--r-- | include/linux/shmem_fs.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/shmem_fs.h b/include/linux/shmem_fs.h index 06b295bec00d..73b5e655a76e 100644 --- a/include/linux/shmem_fs.h +++ b/include/linux/shmem_fs.h | |||
@@ -112,13 +112,11 @@ extern void shmem_uncharge(struct inode *inode, long pages); | |||
112 | 112 | ||
113 | #ifdef CONFIG_TMPFS | 113 | #ifdef CONFIG_TMPFS |
114 | 114 | ||
115 | extern int shmem_add_seals(struct file *file, unsigned int seals); | 115 | extern long memfd_fcntl(struct file *file, unsigned int cmd, unsigned long arg); |
116 | extern int shmem_get_seals(struct file *file); | ||
117 | extern long shmem_fcntl(struct file *file, unsigned int cmd, unsigned long arg); | ||
118 | 116 | ||
119 | #else | 117 | #else |
120 | 118 | ||
121 | static inline long shmem_fcntl(struct file *f, unsigned int c, unsigned long a) | 119 | static inline long memfd_fcntl(struct file *f, unsigned int c, unsigned long a) |
122 | { | 120 | { |
123 | return -EINVAL; | 121 | return -EINVAL; |
124 | } | 122 | } |