diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2025-07-06 21:32:41 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-09-15 21:17:08 -0400 |
| commit | 2930afe2c9cb9aec329269e40c851bf56cdcc09c (patch) | |
| tree | e030c6819683083fa45d47fbf14a703e86ca43a8 /fs/pidfs.c | |
| parent | 9c71fe0abf324ab0ba77e3d161d16af3e0f9074b (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.c | 2 |
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 |
