constify security_path_{mkdir,mknod,symlink}

... as well as unix_mknod() and may_o_create()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2016-03-25 15:21:09 -04:00
parent 989f74e050
commit d360775217
7 changed files with 20 additions and 20 deletions

View file

@ -953,7 +953,7 @@ fail:
return NULL;
}
static int unix_mknod(struct dentry *dentry, struct path *path, umode_t mode,
static int unix_mknod(struct dentry *dentry, const struct path *path, umode_t mode,
struct path *res)
{
int err;