diff options
Diffstat (limited to 'fs/namespace.c')
-rw-r--r-- | fs/namespace.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index 7bdf7907413f..fc33207e28ad 100644 --- a/fs/namespace.c +++ b/fs/namespace.c | |||
@@ -1640,7 +1640,7 @@ static int do_change_type(struct path *path, int flag) | |||
1640 | /* | 1640 | /* |
1641 | * do loopback mount. | 1641 | * do loopback mount. |
1642 | */ | 1642 | */ |
1643 | static int do_loopback(struct path *path, char *old_name, | 1643 | static int do_loopback(struct path *path, const char *old_name, |
1644 | int recurse) | 1644 | int recurse) |
1645 | { | 1645 | { |
1646 | LIST_HEAD(umount_list); | 1646 | LIST_HEAD(umount_list); |
@@ -1764,7 +1764,7 @@ static inline int tree_contains_unbindable(struct mount *mnt) | |||
1764 | return 0; | 1764 | return 0; |
1765 | } | 1765 | } |
1766 | 1766 | ||
1767 | static int do_move_mount(struct path *path, char *old_name) | 1767 | static int do_move_mount(struct path *path, const char *old_name) |
1768 | { | 1768 | { |
1769 | struct path old_path, parent_path; | 1769 | struct path old_path, parent_path; |
1770 | struct mount *p; | 1770 | struct mount *p; |
@@ -1917,8 +1917,8 @@ unlock: | |||
1917 | * create a new mount for userspace and request it to be added into the | 1917 | * create a new mount for userspace and request it to be added into the |
1918 | * namespace's tree | 1918 | * namespace's tree |
1919 | */ | 1919 | */ |
1920 | static int do_new_mount(struct path *path, char *type, int flags, | 1920 | static int do_new_mount(struct path *path, const char *type, int flags, |
1921 | int mnt_flags, char *name, void *data) | 1921 | int mnt_flags, const char *name, void *data) |
1922 | { | 1922 | { |
1923 | struct vfsmount *mnt; | 1923 | struct vfsmount *mnt; |
1924 | int err; | 1924 | int err; |
@@ -2191,8 +2191,8 @@ int copy_mount_string(const void __user *data, char **where) | |||
2191 | * Therefore, if this magic number is present, it carries no information | 2191 | * Therefore, if this magic number is present, it carries no information |
2192 | * and must be discarded. | 2192 | * and must be discarded. |
2193 | */ | 2193 | */ |
2194 | long do_mount(char *dev_name, char *dir_name, char *type_page, | 2194 | long do_mount(const char *dev_name, const char *dir_name, |
2195 | unsigned long flags, void *data_page) | 2195 | const char *type_page, unsigned long flags, void *data_page) |
2196 | { | 2196 | { |
2197 | struct path path; | 2197 | struct path path; |
2198 | int retval = 0; | 2198 | int retval = 0; |