Merge remote-tracking branch 'mkp-scsi/4.10/scsi-fixes' into fixes
[sfrench/cifs-2.6.git] / fs / file_table.c
index ad17e05ebf95f07888b15f2b09a7b37ac89b9710..6d982b57de9241de853b9ee592ff0564a0bad832 100644 (file)
@@ -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;