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>
This commit is contained in:
Mimi Zohar
2017-09-12 22:45:33 -04:00
کامیت شده توسط Linus Torvalds
والد 6ed0529fef
کامیت 711aab1dbb
3فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده

مشاهده پرونده

@@ -21,7 +21,7 @@ static inline int mod_firmware_load(const char *fn, char **fp)
loff_t size;
int err;
err = kernel_read_file_from_path((char *)fn, (void **)fp, &size,
err = kernel_read_file_from_path(fn, (void **)fp, &size,
131072, READING_FIRMWARE);
if (err < 0)
return 0;