diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-05-31 20:09:15 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-07-04 22:01:59 -0400 |
commit | 33488845f211afcdb7e5c00a3152890e06cdc78e (patch) | |
tree | 8536b5849fddb5c6bb912a67b23eee42c8661ea5 /fs/namespace.c | |
parent | fd3e007f6c6a0f677e4ee8aca4b9bab8ad6cab9a (diff) | |
download | lwn-33488845f211afcdb7e5c00a3152890e06cdc78e.tar.gz lwn-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; |