aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2018-06-17 14:21:27 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2018-07-12 10:04:29 -0400
commitee1904ba44bd4a242b453e8fe179b374906da173 (patch)
treee46eab4aac323da76a546f0d8137e0b963802803 /include/linux
parentdo_shmat(): grab shp->shm_file earlier, switch to alloc_file_clone() (diff)
downloadlinux-dev-ee1904ba44bd4a242b453e8fe179b374906da173.tar.xz
linux-dev-ee1904ba44bd4a242b453e8fe179b374906da173.zip
make alloc_file() static
Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/file.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/file.h b/include/linux/file.h
index 60914843c737..6b2fb032416c 100644
--- a/include/linux/file.h
+++ b/include/linux/file.h
@@ -19,8 +19,6 @@ struct vfsmount;
struct dentry;
struct inode;
struct path;
-extern struct file *alloc_file(const struct path *, int flags,
- const struct file_operations *fop);
extern struct file *alloc_file_pseudo(struct inode *, struct vfsmount *,
const char *, int flags, const struct file_operations *);
extern struct file *alloc_file_clone(struct file *, int flags,