]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/namespace.c
ALSA: nm256: More constifications
[linux.git] / fs / namespace.c
index 2adfe7b166a3e214a13ff0417ad341bc25832619..2fd0c8bcb8c147f28d83ddd883402e8a40a3b7cd 100644 (file)
@@ -2356,7 +2356,7 @@ static struct file *open_detached_copy(struct path *path, bool recursive)
        return file;
 }
 
-SYSCALL_DEFINE3(open_tree, int, dfd, const char *, filename, unsigned, flags)
+SYSCALL_DEFINE3(open_tree, int, dfd, const char __user *, filename, unsigned, flags)
 {
        struct file *file;
        struct path path;
@@ -3514,8 +3514,8 @@ SYSCALL_DEFINE3(fsmount, int, fs_fd, unsigned int, flags,
  * Note the flags value is a combination of MOVE_MOUNT_* flags.
  */
 SYSCALL_DEFINE5(move_mount,
-               int, from_dfd, const char *, from_pathname,
-               int, to_dfd, const char *, to_pathname,
+               int, from_dfd, const char __user *, from_pathname,
+               int, to_dfd, const char __user *, to_pathname,
                unsigned int, flags)
 {
        struct path from_path, to_path;