summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-11-21 02:28:12 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2016-12-06 01:01:16 +0100
commita4141d7cf80fee99ace8d8a95dd358c98ad6ad69 (patch)
treece00035c79379b93c4838fcafacac87c472bc492 /include
parentconstify btrfs_mksubvol() (diff)
downloadlinux-a4141d7cf80fee99ace8d8a95dd358c98ad6ad69.tar.xz
linux-a4141d7cf80fee99ace8d8a95dd358c98ad6ad69.zip
constify alloc_file()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/file.h b/include/linux/file.h
index 7444f5feda12..61eb82cbafba 100644
--- a/include/linux/file.h
+++ b/include/linux/file.h
@@ -17,7 +17,7 @@ struct file_operations;
struct vfsmount;
struct dentry;
struct path;
-extern struct file *alloc_file(struct path *, fmode_t mode,
+extern struct file *alloc_file(const struct path *, fmode_t mode,
const struct file_operations *fop);
static inline void fput_light(struct file *file, int fput_needed)