vfs: misc struct path constification

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2016-11-20 20:27:12 -05:00
commit f0bb5aaf2c
4 changed files with 5 additions and 5 deletions

View file

@ -48,7 +48,7 @@ static bool nsec_valid(long nsec)
return nsec >= 0 && nsec <= 999999999;
}
static int utimes_common(struct path *path, struct timespec *times)
static int utimes_common(const struct path *path, struct timespec *times)
{
int error;
struct iattr newattrs;