diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-25 20:21:09 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-28 06:47:27 +0200 |
commit | d360775217070ff0f4291e47d3f568f0fe0b7374 (patch) | |
tree | 20829cffe0741543e0a754dc266ba36b55630523 /net/unix | |
parent | constify security_path_{unlink,rmdir} (diff) | |
download | linux-d360775217070ff0f4291e47d3f568f0fe0b7374.tar.xz linux-d360775217070ff0f4291e47d3f568f0fe0b7374.zip |
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>
Diffstat (limited to 'net/unix')
-rw-r--r-- | net/unix/af_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index 8269da73e9e5..80aa6a3e6817 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -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; |