diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-11-20 20:28:12 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-12-05 19:01:16 -0500 |
commit | a4141d7cf80fee99ace8d8a95dd358c98ad6ad69 (patch) | |
tree | ce00035c79379b93c4838fcafacac87c472bc492 /fs/file_table.c | |
parent | 92872094a163b6b6954c46b3d1e36ab9c8b2b32c (diff) | |
download | linux-stable-a4141d7cf80fee99ace8d8a95dd358c98ad6ad69.tar.gz linux-stable-a4141d7cf80fee99ace8d8a95dd358c98ad6ad69.tar.bz2 linux-stable-a4141d7cf80fee99ace8d8a95dd358c98ad6ad69.zip |
constify alloc_file()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/file_table.c')
-rw-r--r-- | fs/file_table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/file_table.c b/fs/file_table.c index ad17e05ebf95..6d982b57de92 100644 --- a/fs/file_table.c +++ b/fs/file_table.c @@ -155,7 +155,7 @@ over: * @mode: the mode with which the new file will be opened * @fop: the 'struct file_operations' for the new file */ -struct file *alloc_file(struct path *path, fmode_t mode, +struct file *alloc_file(const struct path *path, fmode_t mode, const struct file_operations *fop) { struct file *file; |