mirror of https://github.com/torvalds/linux.git
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:
parent
dae575e669
commit
dd22857510
|
|
@ -293,7 +293,7 @@ static int statx_lookup_flags(int flags)
|
||||||
return lookup_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)
|
u32 request_mask)
|
||||||
{
|
{
|
||||||
int error = vfs_getattr(path, stat, request_mask, flags);
|
int error = vfs_getattr(path, stat, request_mask, flags);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue