diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2025-08-24 14:18:09 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-09-15 21:26:44 -0400 |
| commit | 8ec7ee2e0be710317bbfeeae8c16a3834e78ab9c (patch) | |
| tree | 72481cdaaf3a37c584a70fe8a142d41d33820557 /fs/internal.h | |
| parent | a8be822f61934b493bc1c8ed98aa3326b7d176df (diff) | |
path_mount(): constify struct path argument
now it finally can be done.
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/internal.h')
| -rw-r--r-- | fs/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/internal.h b/fs/internal.h index 38e8aab27bbd..fe88563b4822 100644 --- a/fs/internal.h +++ b/fs/internal.h @@ -84,7 +84,7 @@ void mnt_put_write_access_file(struct file *file); extern void dissolve_on_fput(struct vfsmount *); extern bool may_mount(void); -int path_mount(const char *dev_name, struct path *path, +int path_mount(const char *dev_name, const struct path *path, const char *type_page, unsigned long flags, void *data_page); int path_umount(struct path *path, int flags); |