]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/file_table.c
SUNRPC: Add generic helpers for xdr_stream encode/decode
[karo-tx-linux.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;