diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2025-08-24 14:24:59 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-09-15 21:26:44 -0400 |
| commit | f91c433a5c1240b5ad48d2cb8b69d38453b63e00 (patch) | |
| tree | d717abe46b2cb10e0e36c9322b55e6615e1c2792 /fs/namespace.c | |
| parent | 4f4b18af4c2e4abb7cb7047de5c6d7f5e4b48b05 (diff) | |
path_umount(): constify struct path argument
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namespace.c')
| -rw-r--r-- | fs/namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index e09688d63dac..0b351af53300 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -2084,7 +2084,7 @@ static int can_umount(const struct path *path, int flags) } // caller is responsible for flags being sane -int path_umount(struct path *path, int flags) +int path_umount(const struct path *path, int flags) { struct mount *mnt = real_mount(path->mnt); int ret; |