diff options
| author | Mimi Zohar <[email protected]> | 2017-09-12 22:45:33 -0400 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-09-14 20:18:45 -0700 |
| commit | 711aab1dbb324d321e3d84368a435a78908c7bce (patch) | |
| tree | 59f2bfbe02d994f4f69dc8d44fc8a4a4bd12228b /include/linux | |
| parent | 6ed0529fef09f50ef41d396cb55c5519e4936b16 (diff) | |
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 <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index bc475dfeb4ce..339e73742e73 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2815,7 +2815,7 @@ static inline const char *kernel_read_file_id_str(enum kernel_read_file_id id) extern int kernel_read_file(struct file *, void **, loff_t *, loff_t, enum kernel_read_file_id); -extern int kernel_read_file_from_path(char *, void **, loff_t *, loff_t, +extern int kernel_read_file_from_path(const char *, void **, loff_t *, loff_t, enum kernel_read_file_id); extern int kernel_read_file_from_fd(int, void **, loff_t *, loff_t, enum kernel_read_file_id); |