diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-06-01 02:09:15 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-07-05 04:01:59 +0200 |
commit | 33488845f211afcdb7e5c00a3152890e06cdc78e (patch) | |
tree | 8536b5849fddb5c6bb912a67b23eee42c8661ea5 /fs/namespace.c | |
parent | don't bother with registering rootfs (diff) | |
download | linux-33488845f211afcdb7e5c00a3152890e06cdc78e.tar.xz linux-33488845f211afcdb7e5c00a3152890e06cdc78e.zip |
constify ksys_mount() string arguments
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namespace.c')
-rw-r--r-- | fs/namespace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index 2db2f4c36c50..e272c2403014 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -3295,8 +3295,8 @@ struct dentry *mount_subtree(struct vfsmount *m, const char *name) } EXPORT_SYMBOL(mount_subtree); -int ksys_mount(char __user *dev_name, char __user *dir_name, char __user *type, - unsigned long flags, void __user *data) +int ksys_mount(const char __user *dev_name, const char __user *dir_name, + const char __user *type, unsigned long flags, void __user *data) { int ret; char *kernel_type; |