diff options
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2017-09-13 04:45:33 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-09-15 05:18:45 +0200 |
commit | 711aab1dbb324d321e3d84368a435a78908c7bce (patch) | |
tree | 59f2bfbe02d994f4f69dc8d44fc8a4a4bd12228b /fs/exec.c | |
parent | Merge tag 'nfs-for-4.14-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs (diff) | |
download | linux-711aab1dbb324d321e3d84368a435a78908c7bce.tar.xz linux-711aab1dbb324d321e3d84368a435a78908c7bce.zip |
vfs: constify path argument to kernel_read_file_from_path
This patch constifies the path argument to kernel_read_file_from_path().
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/exec.c')
-rw-r--r-- | fs/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exec.c b/fs/exec.c index 69a543259aa5..ac34d9724684 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -955,7 +955,7 @@ out: } EXPORT_SYMBOL_GPL(kernel_read_file); -int kernel_read_file_from_path(char *path, void **buf, loff_t *size, +int kernel_read_file_from_path(const char *path, void **buf, loff_t *size, loff_t max_size, enum kernel_read_file_id id) { struct file *file; |