Skip to content

Commit dd22857

Browse files
author
Al Viro
committed
constify path argument of vfs_statx_path()
Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent dae575e commit dd22857

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/stat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ static int statx_lookup_flags(int flags)
293293
return lookup_flags;
294294
}
295295

296-
static int vfs_statx_path(struct path *path, int flags, struct kstat *stat,
296+
static int vfs_statx_path(const struct path *path, int flags, struct kstat *stat,
297297
u32 request_mask)
298298
{
299299
int error = vfs_getattr(path, stat, request_mask, flags);

0 commit comments

Comments
 (0)