constify chmod_common/security_path_chmod

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2016-03-25 14:56:23 -04:00
parent 8a04c43b87
commit be01f9f28e
6 changed files with 7 additions and 7 deletions

View file

@ -499,7 +499,7 @@ out:
return error;
}
static int chmod_common(struct path *path, umode_t mode)
static int chmod_common(const struct path *path, umode_t mode)
{
struct inode *inode = path->dentry->d_inode;
struct inode *delegated_inode = NULL;