aboutsummaryrefslogtreecommitdiff
path: root/fs/pidfs.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2025-07-06 21:32:41 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2025-09-15 21:17:08 -0400
commit2930afe2c9cb9aec329269e40c851bf56cdcc09c (patch)
treee030c6819683083fa45d47fbf14a703e86ca43a8 /fs/pidfs.c
parent9c71fe0abf324ab0ba77e3d161d16af3e0f9074b (diff)
export_operations->open(): constify path argument
for the method and its sole instance... Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/pidfs.c')
-rw-r--r--fs/pidfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/pidfs.c b/fs/pidfs.c
index 108e7527f837..5af4fee288ea 100644
--- a/fs/pidfs.c
+++ b/fs/pidfs.c
@@ -847,7 +847,7 @@ static int pidfs_export_permission(struct handle_to_path_ctx *ctx,
return 0;
}
-static struct file *pidfs_export_open(struct path *path, unsigned int oflags)
+static struct file *pidfs_export_open(const struct path *path, unsigned int oflags)
{
/*
* Clear O_LARGEFILE as open_by_handle_at() forces it and raise