mirror of
https://github.com/torvalds/linux.git
synced 2025-11-30 23:16:01 +07:00
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>
This commit is contained in:
@@ -293,7 +293,7 @@ static int statx_lookup_flags(int flags)
|
||||
return lookup_flags;
|
||||
}
|
||||
|
||||
static int vfs_statx_path(struct path *path, int flags, struct kstat *stat,
|
||||
static int vfs_statx_path(const struct path *path, int flags, struct kstat *stat,
|
||||
u32 request_mask)
|
||||
{
|
||||
int error = vfs_getattr(path, stat, request_mask, flags);
|
||||
|
||||
Reference in New Issue
Block a user